Fontconfig Developers Reference, Version 2.8.0
Copyright © 2002 Keith Packard
Permission to use, copy, modify, distribute, and sell this software and its
documentation for any purpose is hereby granted without fee, provided that the
above copyright notice appear in all copies and that both that copyright notice
and this permission notice appear in supporting documentation, and that the
name of Keith Packard not be used in advertising or publicity pertaining to
distribution of the software without specific, written prior permission. Keith
Packard makes no representations about the suitability of this software for any
purpose. It is provided "as is" without express or implied warranty.
THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE
AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Table of Contents
DESCRIPTION
FUNCTIONAL OVERVIEW
Datatypes
FUNCTIONS
DESCRIPTION
Fontconfig is a library designed to provide system-wide font configuration,
customization and application access.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FUNCTIONAL OVERVIEW
Fontconfig contains two essential modules, the configuration module which
builds an internal configuration from XML files and the matching module which
accepts font patterns and returns the nearest matching font.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FONT CONFIGURATION
The configuration module consists of the FcConfig datatype, libexpat and
FcConfigParse which walks over an XML tree and ammends a configuration with
data found within. From an external perspective, configuration of the library
consists of generating a valid XML tree and feeding that to FcConfigParse. The
only other mechanism provided to applications for changing the running
configuration is to add fonts and directories to the list of
application-provided font files.
The intent is to make font configurations relatively static, and shared by as
many applications as possible. It is hoped that this will lead to more stable
font selection when passing names from one application to another. XML was
chosen as a configuration file format because it provides a format which is
easy for external agents to edit while retaining the correct structure and
syntax.
Font configuration is separate from font matching; applications needing to do
their own matching can access the available fonts from the library and perform
private matching. The intent is to permit applications to pick and choose
appropriate functionality from the library instead of forcing them to choose
between this library and a private configuration mechanism. The hope is that
this will ensure that configuration of fonts for all applications can be
centralized in one place. Centralizing font configuration will simplify and
regularize font installation and customization.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FONT PROPERTIES
While font patterns may contain essentially any properties, there are some well
known properties with associated types. Fontconfig uses some of these
properties for font matching and font completion. Others are provided as a
convenience for the applications rendering mechanism.
Property Definitions
Property CPP Symbol Type Description
----------------------------------------------------
family FC_FAMILY String Font family names
familylang FC_FAMILYLANG String Language cooresponding to
each family name
style FC_STYLE String Font style. Overrides weight
and slant
stylelang FC_STYLELANG String Language cooresponding to
each style name
fullname FC_FULLNAME String Font face full name where
different from family and
family + style
fullnamelang FC_FULLNAMELANG String Language cooresponding to
each fullname
slant FC_SLANT Int Italic, oblique or roman
weight FC_WEIGHT Int Light, medium, demibold,
bold or black
size FC_SIZE Double Point size
width FC_WIDTH Int Condensed, normal or expanded
aspect FC_ASPECT Double Stretches glyphs horizontally
before hinting
pixelsize FC_PIXEL_SIZE Double Pixel size
spacing FC_SPACING Int Proportional, dual-width,
monospace or charcell
foundry FC_FOUNDRY String Font foundry name
antialias FC_ANTIALIAS Bool Whether glyphs can be
antialiased
hinting FC_HINTING Bool Whether the rasterizer should
use hinting
hintstyle FC_HINT_STYLE Int Automatic hinting style
verticallayout FC_VERTICAL_LAYOUT Bool Use vertical layout
autohint FC_AUTOHINT Bool Use autohinter instead of
normal hinter
globaladvance FC_GLOBAL_ADVANCE Bool Use font global advance data
file FC_FILE String The filename holding the font
index FC_INDEX Int The index of the font within
the file
ftface FC_FT_FACE FT_Face Use the specified FreeType
face object
rasterizer FC_RASTERIZER String Which rasterizer is in use
outline FC_OUTLINE Bool Whether the glyphs are outlines
scalable FC_SCALABLE Bool Whether glyphs can be scaled
scale FC_SCALE Double Scale factor for point->pixel
conversions
dpi FC_DPI Double Target dots per inch
rgba FC_RGBA Int unknown, rgb, bgr, vrgb,
vbgr, none - subpixel geometry
lcdfilter FC_LCD_FILTER Int Type of LCD filter
minspace FC_MINSPACE Bool Eliminate leading from line
spacing
charset FC_CHARSET CharSet Unicode chars encoded by
the font
lang FC_LANG LangSet Set of RFC-3066-style
languages t
没有合适的资源?快使用搜索试试~ 我知道了~
fontconfig 2.8.0
5星 · 超过95%的资源 需积分: 45 3 下载量 72 浏览量
2011-06-08
09:53:48
上传
评论
收藏 1.48MB GZ 举报
温馨提示
共778个文件
orth:238个
html:184个
3:178个
fontconfig-2.8.0.tar。gz
资源推荐
资源详情
资源评论
收起资源包目录
fontconfig 2.8.0 (778个子文件)
fc-cache.1 2KB
fc-match.1 2KB
fc-list.1 2KB
fc-query.1 2KB
fc-scan.1 1KB
fc-cat.1 1KB
FcPatternFormat.3 9KB
FcPatternGet-Type.3 2KB
FcPatternBuild.3 1KB
FcPatternAdd-Type.3 1KB
FcFontSetSort.3 1KB
FcFontSort.3 1KB
FcFileScan.3 1KB
FcFreeTypeCharSetAndSpacing.3 1016B
FcConfigFilename.3 988B
FcFontSetMatch.3 895B
FcConfigSubstituteWithPat.3 883B
FcStrCopyFilename.3 872B
FcConfigParseAndLoad.3 849B
FcDirScan.3 783B
FcObjectSetBuild.3 783B
FcUtf16Len.3 771B
FcLangSetHasLang.3 758B
FcPatternAdd.3 752B
FcFontMatch.3 749B
FcLangSetCompare.3 740B
FcDefaultSubstitute.3 734B
FcConfigReference.3 726B
FcFontRenderPrepare.3 717B
FcFontSetList.3 714B
FcFreeTypeCharIndex.3 696B
FcConfigGetRescanInterval.3 691B
FcDirSave.3 685B
FcCharSetMerge.3 671B
FcFreeTypeCharSet.3 668B
FcConfigEnableHome.3 662B
FcUtf8Len.3 659B
FcConfigAppFontAddDir.3 657B
FcAtomicCreate.3 640B
FcConfigSetRescanInterval.3 631B
FcConfigGetBlanks.3 630B
FcCharSetCoverage.3 628B
FcInitBringUptoDate.3 626B
FcUtf16ToUcs4.3 621B
FcLangSetContains.3 618B
FcPatternGet.3 614B
FcConfigGetCacheDirs.3 610B
FcInitReinitialize.3 610B
FcConfigSubstitute.3 609B
FcConfigDestroy.3 604B
FcConfigAppFontAddFile.3 601B
FcConfigBuildFonts.3 597B
FcFreeTypeQueryFace.3 595B
FcFontList.3 593B
FcDirCacheUnlink.3 590B
FcDirCacheRead.3 588B
FcCharSetNextPage.3 585B
FcLangSetHash.3 584B
FcCharSetFirstPage.3 578B
FcConfigGetFonts.3 577B
FcStrStrIgnoreCase.3 572B
FcDirCacheLoad.3 570B
FcPatternAddWeak.3 569B
FcInit.3 563B
FcConfigGetFontDirs.3 562B
FcFontSetPrint.3 559B
FcNameUnparse.3 556B
FcPatternRemove.3 556B
FcFreeTypeQuery.3 556B
FcFontSetAdd.3 554B
FcMatrixRotate.3 542B
FcConfigGetConfigDirs.3 541B
FcNameRegisterConstants.3 541B
FcStrSetAddFilename.3 536B
FcNameRegisterObjectTypes.3 536B
FcConfigUptoDate.3 535B
FcDirCacheLoadFile.3 535B
FcCacheSubdir.3 533B
FcAtomicReplaceOrig.3 532B
FcNameUnregisterConstants.3 528B
FcMatrixScale.3 520B
FcMatrixShear.3 519B
FcFini.3 519B
FcCharSetAddChar.3 517B
FcValueEqual.3 517B
FcFontSetSortDestroy.3 517B
FcLangSetAdd.3 516B
FcPatternEqualSubset.3 516B
FcStrCmpIgnoreCase.3 515B
FcUtf8ToUcs4.3 513B
FcPatternFilter.3 508B
FcObjectSetAdd.3 506B
FcCacheCopySet.3 504B
FcStrStr.3 499B
FcStrBasename.3 496B
FcNameConstant.3 495B
FcConfigGetCache.3 494B
FcMatrixMultiply.3 493B
FcPatternPrint.3 489B
FcConfigSetCurrent.3 488B
共 778 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
- boxer20111112013-05-20安装成功了
liujia2100
- 粉丝: 444
- 资源: 31
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功