Bug 50497 - RFE: Add OpenType feature tags support
Add FC_FONT_FEATURES to store the feature tags to be enabled.
This commit is contained in:
parent
dffb69ed8c
commit
3f84695104
|
@ -190,6 +190,8 @@ convenience for the application's rendering mechanism.
|
|||
the font
|
||||
embolden FC_EMBOLDEN Bool Rasterizer should
|
||||
synthetically embolden the font
|
||||
fontfeatures FC_FONT_FEATURES String List of the feature tags in
|
||||
OpenType to be enabled
|
||||
namelang FC_NAMELANG String Language name to be used for the
|
||||
default value of familylang,
|
||||
stylelang and fullnamelang
|
||||
|
|
|
@ -131,6 +131,7 @@ convenience for the applications' rendering mechanism.
|
|||
fontversion Int Version number of the font
|
||||
capability String List of layout capabilities in the font
|
||||
embolden Bool Rasterizer should synthetically embolden the font
|
||||
fontfeatures String List of the feature tags in OpenType to be enabled
|
||||
</programlisting>
|
||||
</refsect2>
|
||||
<refsect2>
|
||||
|
|
|
@ -112,6 +112,7 @@ typedef int FcBool;
|
|||
#define FC_EMBEDDED_BITMAP "embeddedbitmap" /* Bool - true to enable embedded bitmaps */
|
||||
#define FC_DECORATIVE "decorative" /* Bool - true if style is a decorative variant */
|
||||
#define FC_LCD_FILTER "lcdfilter" /* Int */
|
||||
#define FC_FONT_FEATURES "fontfeatures" /* String */
|
||||
#define FC_NAMELANG "namelang" /* String RFC 3866 langs */
|
||||
|
||||
#define FC_CACHE_SUFFIX ".cache-" FC_CACHE_VERSION
|
||||
|
|
|
@ -41,4 +41,5 @@ FC_OBJECT (EMBEDDED_BITMAP, FcTypeBool)
|
|||
FC_OBJECT (DECORATIVE, FcTypeBool)
|
||||
FC_OBJECT (LCD_FILTER, FcTypeInteger)
|
||||
FC_OBJECT (NAMELANG, FcTypeString)
|
||||
FC_OBJECT (FONT_FEATURES, FcTypeString)
|
||||
/* ^-------------- Add new objects here. */
|
||||
|
|
Loading…
Reference in New Issue