Add docs for missing properties

This commit is contained in:
Akira TAGOH 2019-07-23 07:00:43 +00:00
parent e261e31731
commit dce6ed92f2
1 changed files with 17 additions and 12 deletions

View File

@ -150,8 +150,8 @@ convenience for the application's rendering mechanism.
slant FC_SLANT Int Italic, oblique or roman slant FC_SLANT Int Italic, oblique or roman
weight FC_WEIGHT Int Light, medium, demibold, weight FC_WEIGHT Int Light, medium, demibold,
bold or black bold or black
size FC_SIZE Double Point size
width FC_WIDTH Int Condensed, normal or expanded width FC_WIDTH Int Condensed, normal or expanded
size FC_SIZE Double Point size
aspect FC_ASPECT Double Stretches glyphs horizontally aspect FC_ASPECT Double Stretches glyphs horizontally
before hinting before hinting
pixelsize FC_PIXEL_SIZE Double Pixel size pixelsize FC_PIXEL_SIZE Double Pixel size
@ -160,9 +160,9 @@ convenience for the application's rendering mechanism.
foundry FC_FOUNDRY String Font foundry name foundry FC_FOUNDRY String Font foundry name
antialias FC_ANTIALIAS Bool Whether glyphs can be antialias FC_ANTIALIAS Bool Whether glyphs can be
antialiased antialiased
hintstyle FC_HINT_STYLE Int Automatic hinting style
hinting FC_HINTING Bool Whether the rasterizer should hinting FC_HINTING Bool Whether the rasterizer should
use hinting use hinting
hintstyle FC_HINT_STYLE Int Automatic hinting style
verticallayout FC_VERTICAL_LAYOUT Bool Use vertical layout verticallayout FC_VERTICAL_LAYOUT Bool Use vertical layout
autohint FC_AUTOHINT Bool Use autohinter instead of autohint FC_AUTOHINT Bool Use autohinter instead of
normal hinter normal hinter
@ -176,14 +176,11 @@ convenience for the application's rendering mechanism.
rasterizer FC_RASTERIZER String Which rasterizer is in use (deprecated) rasterizer FC_RASTERIZER String Which rasterizer is in use (deprecated)
outline FC_OUTLINE Bool Whether the glyphs are outlines outline FC_OUTLINE Bool Whether the glyphs are outlines
scalable FC_SCALABLE Bool Whether glyphs can be scaled scalable FC_SCALABLE Bool Whether glyphs can be scaled
scale FC_SCALE Double Scale factor for point->pixel
conversions (deprecated)
symbol FC_SYMBOL Bool Whether font uses MS symbol-font encoding
color FC_COLOR Bool Whether any glyphs have color
dpi FC_DPI Double Target dots per inch dpi FC_DPI Double Target dots per inch
rgba FC_RGBA Int unknown, rgb, bgr, vrgb, rgba FC_RGBA Int unknown, rgb, bgr, vrgb,
vbgr, none - subpixel geometry vbgr, none - subpixel geometry
lcdfilter FC_LCD_FILTER Int Type of LCD filter scale FC_SCALE Double Scale factor for point->pixel
conversions (deprecated)
minspace FC_MINSPACE Bool Eliminate leading from line minspace FC_MINSPACE Bool Eliminate leading from line
spacing spacing
charset FC_CHARSET CharSet Unicode chars encoded by charset FC_CHARSET CharSet Unicode chars encoded by
@ -200,15 +197,20 @@ convenience for the application's rendering mechanism.
of the outline of the outline
decorative FC_DECORATIVE Bool Whether the style is a decorative decorative FC_DECORATIVE Bool Whether the style is a decorative
variant variant
fontfeatures FC_FONT_FEATURES String List of extra feature tags in lcdfilter FC_LCD_FILTER Int Type of LCD filter
OpenType to be enabled
namelang FC_NAMELANG String Language name to be used for the namelang FC_NAMELANG String Language name to be used for the
default value of familylang, default value of familylang,
stylelang and fullnamelang stylelang and fullnamelang
fontfeatures FC_FONT_FEATURES String List of extra feature tags in
OpenType to be enabled
prgname FC_PRGNAME String Name of the running program prgname FC_PRGNAME String Name of the running program
hash FC_HASH String SHA256 hash value of the font data hash FC_HASH String SHA256 hash value of the font data
with "sha256:" prefix (deprecated) with "sha256:" prefix (deprecated)
postscriptname FC_POSTSCRIPT_NAME String Font name in PostScript postscriptname FC_POSTSCRIPT_NAME String Font name in PostScript
symbol FC_SYMBOL Bool Whether font uses MS symbol-font encoding
color FC_COLOR Bool Whether any glyphs have color
fontvariations FC_FONT_VARIATIONS String comma-separated string of axes in variable font
variable FC_VARIABLE Bool Whether font is Variable Font
</programlisting> </programlisting>
</sect2> </sect2>
</sect1> </sect1>
@ -282,6 +284,7 @@ types. The 'type' tag indicates which member is valid.
const FcCharSet *c; const FcCharSet *c;
void *f; void *f;
const FcLangSet *l; const FcLangSet *l;
const FcRange *r;
} u; } u;
} FcValue; } FcValue;
</programlisting> </programlisting>
@ -299,16 +302,18 @@ types. The 'type' tag indicates which member is valid.
FcTypeCharSet c FcCharSet * FcTypeCharSet c FcCharSet *
FcTypeFTFace f void * (FT_Face) FcTypeFTFace f void * (FT_Face)
FcTypeLangSet l FcLangSet * FcTypeLangSet l FcLangSet *
FcTypeRange r FcRange *
</programlisting> </programlisting>
</para> </para>
</sect2> </sect2>
<sect2><title>FcPattern</title> <sect2><title>FcPattern, FcPatternIter</title>
<para> <para>
holds a set of names with associated value lists; each name refers to a An FcPattern holds a set of names with associated value lists; each name refers to a
property of a font. FcPatterns are used as inputs to the matching code as property of a font. FcPatterns are used as inputs to the matching code as
well as holding information about specific fonts. Each property can hold well as holding information about specific fonts. Each property can hold
one or more values; conventionally all of the same type, although the one or more values; conventionally all of the same type, although the
interface doesn't demand that. interface doesn't demand that. An FcPatternIter is used during iteration to
access properties in FcPattern.
</para> </para>
</sect2> </sect2>
<sect2><title>FcFontSet</title> <sect2><title>FcFontSet</title>