[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] are there font types for which FT_LOAD_NO_RECURSE is supposed t
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [ft] are there font types for which FT_LOAD_NO_RECURSE is supposed to fail? |
Date: |
Tue, 18 Sep 2018 23:14:26 -0400 |
Kevin,
To understand relationships between the flags, please study just a few
lines of code here:
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/base/ftobjs.c#n818
FT_LOAD_NO_RECURSE basically cancels everything including metrics
calculations. It only gives you a list of glyph components for a
composite glyph if any. It is also the only way to get that
information. So if you really need both metrics and components, you
have to load the glyph twice.
Alexei