Re: [EXT] [VE][73] font-face "is not finished" in LibreOffice SVG export

On 02/05/2022 04:33, S Page wrote:
>
> Hello there. I exported a trivial slide from LibreOffice Impress, and 
> validated it with your fine service https://validator.w3.org/check . 
> Here it is 
> http://www.skierpage.com/bugs/very_simple_slide_noscript.svg , minus 
> 450kB of JavaScript (there's nothing visible in Firefox because the 
> JavaScript "makes it work", though Inkscape will show the slide contents).
>
> I expected some validation errors like SVG version mismatch and 
> complaints about all the ooo attributes from OpenOffice.org SVG 
> extension. However, I'm puzzled by
>
>> Error [73]: "end tag for X which is not finished"
>>
>> Error /Line 21, Column 143/: end tag for "font-face" which is not 
>> finished
>>
> from
> <font-facefont-family="Liberation Sans embedded" units-per-em="2048" 
> font-weight="normal" font-style="normal" ascent="1852" descent="423"/>


I think that it may require a font-face-src attribute, as per the 
example at MDN :

> |<font-face font-family="Super Sans" font-weight="bold" 
> font-style="normal" units-per-em="1000" cap-height="600" 
> x-height="400" ascent="700" descent="300" alphabetic="0" 
> mathematical="350" ideographic="400" hanging="500"> <font-face-src> 
> <font-face-name name="Super Sans Bold"/> </font-face-src> </font-face>|
|--
/Philip Taylor/|

Received on Monday, 2 May 2022 07:40:31 UTC