freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Revised SVG stuff


From: Werner LEMBERG
Subject: Re: Revised SVG stuff
Date: Tue, 18 Jan 2022 22:38:39 +0000 (UTC)

>> If I understand this correctly it means that a test for the SVG
>> table is not sufficient.  Instead, you have to actually do the call
>> to `driver->clazz->load_glyph`, and if this fails, FreeType should
>> try to load a bitmap font, and if this fails, it should proceed
>> with auto-hinting the glyph from the `glyf` table.
> 
> The load_glyph call won't fail even if an OT-SVG glyph is not found,
> I think.

Hmm.

> Instead, it'll resort to whatever type of glyph is found.  That's
> the current behavior of cff_slot_load and TT_Load_Glyph.

OK.  If necessary, please modify the code!  I think the code spoty in
question is the right place to avoid auto-hinting for OT-SVG glyphs.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]