summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2018-05-16Ensure cache checksums are deterministicHEADmasterChris Lamb1-1/+5
Whilst working on the Reproducible Builds[0] effort, we noticed that fontconfig generates unreproducible cache files. This is due to fc-cache uses the modification timestamps of each directory in the "checksum" and "checksum_nano" members of the _FcCache struct. This is so that it can identify which cache files are valid and/or require regeneration. This patch changes the behaviour of the checksum calculations to prefer the value of the SOURCE_DATE_EPOCH[1] environment variable over the directory's own mtime. This variable can then be exported by build systems to ensure reproducible output. If SOURCE_DATE_EPOCH is not set or is newer than the mtime of the directory, the existing behaviour is unchanged. This work was sponsored by Tails[2]. [0] https://reproducible-builds.org/ [1] https://reproducible-builds.org/specs/source-date-epoch/ [2] https://tails.boum.org/
2018-05-11Bug 43367 - RFE: iterator to peek objects in FcPatternAkira TAGOH1-1/+110
Add various APIs to obtain things in FcPattern through the iterator https://bugs.freedesktop.org/show_bug.cgi?id=43367
2018-05-05Add FONTCONFIG_SYSROOT environment variableTom Anderson1-0/+4
2018-04-19Fix typo in docAkira TAGOH1-5/+5
https://bugs.freedesktop.org/show_bug.cgi?id=106128
2018-01-03Add FcWeightTo/FromOpenTypeDouble()Behdad Esfahbod1-10/+32
No idea why I didn't add these as double to begin with.
2017-12-18Add missing doc of FcDirCacheCreateUUIDAkira TAGOH1-1/+17
2017-11-20cleanupAkira TAGOH1-10/+0
2017-11-20Add new API to find out a font from current search pathAkira TAGOH1-0/+10
2017-11-07Add the ruleset description supportAkira TAGOH1-0/+35
Trying to address what these configuration files really do. This change allows to see the short description that mention the purpose of the content in the config file and obtain them through API. This change also encourage one who want to make some UI for the user-specific configuration management. it is the main purpose of this change for me though. Aside from that, I've also made programs translatable. so we see more dependencies on the build time for gettext, and itstool to generate PO from xml.
2017-11-07doc: trivial updateAkira TAGOH1-0/+1
2017-09-20Document FcFreeTypeQueryAll()Behdad Esfahbod1-2/+29
2017-09-12Update documentation for removal of blanksBehdad Esfahbod4-19/+29
Patch from Jerry Casiano.
2017-09-09Update docsAkira TAGOH2-2/+2
2017-07-07Add FcConfigParseAndLoadFromMemory() to load a configuration from memory.Akira TAGOH1-0/+16
https://bugs.freedesktop.org/show_bug.cgi?id=78452
2017-07-07Add FcPatternGetWithBinding() to obtain the binding type of the value in ↵Akira TAGOH1-0/+17
FcPattern. https://bugs.freedesktop.org/show_bug.cgi?id=19375
2017-06-27fix cross compilationHelmut Grohne1-1/+4
Even though fontconfig's build system tries to build edit-sgml with the build arch compiler, it gets the runes wrong and actually builds it with the host arch compiler. This patch makes it use the right compiler. Bug-Debian: https://bugs.debian.org/779461 https://bugs.freedesktop.org/show_bug.cgi?id=101554
2017-05-31Bug 101202 - fontconfig FTBFS if docbook-utils is installedAkira TAGOH1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=101202
2017-03-24Add the description of FC_LANG envvar to the docAkira TAGOH1-0/+4
2016-08-15Correct cache version info in doc/fontconfig-user.sgmlAlan Coopersmith1-2/+2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2015-06-26Revert changes made to FcConfigAppFontAddDir() recentlyBehdad Esfahbod1-1/+1
In 32ac7c75e8db0135ef37cf86f92d8b9be000c8bb the behavior of FcConfigAppFontAddFile/Dir() were changed to return false if not fonts were found. While this is welldefined and useful for AddFile(), it's quite problematic for AddDir(). For example, if the directory is empty, is that a failure or success? Worse, the false value from AddDir() was being propagated all the way to FcInit() returning false now. This only happened upon memory allocation failure before, and some clients assert that FcInit() is successful. With this change, AddDir() is reverted back to what it was. AddFont() change (which was actually in fcdir.c) from the original commit is left in.
2015-06-08Add one more debugging option to see transformation on font-matchingAkira TAGOH1-1/+5
just setting FC_MATCH=3 shows a lot of information and hard to keep on track for informamtion which is really necessary to see. to use this more effectively, added FC_DBG_MATCH_FILTER to see for what one really want to see. it takes a comma-separated-list of object names. If you want to see family name only, try like this: FC_DBG_MATCH_FILTER=family FC_DEBUG=4096 fc-match debugging output will be filtered out and see family only in the result.
2015-05-18Add su[pport for symbol fontsBehdad Esfahbod1-0/+1
Adds FC_SYMBOL. This affects fonts having a cmap with platform 3 encoding 0. We now map their glyphs from the PUA area to the Latin1 area. See thread "Webdings and other MS symbol fonts don't display" on the mailing list. Test before/after with: $ pango-view --markup --text='<span fallback="false">&#xd7;&#xf0d7;</span>' --font=Wingdings
2015-05-12Make FC_SCALE deprecatedAkira TAGOH2-2/+2
Use FC_MATRIX instead. https://bugs.freedesktop.org/show_bug.cgi?id=90257
2015-04-22Fix a typo in fontconfig-user.sgmlAkira TAGOH1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=90105
2015-04-20Fix a typo for the latest cache versionAkira TAGOH1-1/+1
2015-01-19Fix a typo in docsAkira TAGOH1-1/+1
2015-01-06Add missing docsAkira TAGOH2-0/+12
2014-12-25Fix a typoAkira TAGOH1-0/+1
missing a terminator caused a document generation fail.
2014-12-15Generate documentation for FcWeight* functions.Nick Alcock1-0/+7
The SGML for these functions exists, and they are named as manpages, but because they are not mentioned in fontconfig-devel.sgml, no documentation is ever generated, and installation under --enable-docs fails. (The documentation I have written in fontconfig-devel.sgml is boilerplate so I can get the manpages generated. It's probably wrong.)
2014-12-14Add FC_COLORBehdad Esfahbod1-0/+1
Only adds "color" to pattern if FreeType version supports color. Based on patch from Jungshik Shin.
2014-12-09Returns False if no fonts foundAkira TAGOH1-4/+6
https://bugs.freedesktop.org/show_bug.cgi?id=86950
2014-09-25Add FcRangeGetDouble()Akira TAGOH1-0/+10
https://bugs.freedesktop.org/show_bug.cgi?id=82876
2014-08-13Note FcConfigSetCurrent() increases the refcount in documentAkira TAGOH1-1/+2
2014-07-25Linearly interpolate weight valuesBehdad Esfahbod2-0/+48
Rest of Part of https://bugs.freedesktop.org/show_bug.cgi?id=81453 Adds new API: FcWeightFromOpenType() FcWeightToOpenType()
2014-07-25Change DemiLight from 65 to 55Behdad Esfahbod1-2/+2
Such that Regular is closer to Medium than to DemiLight
2014-07-25Add FC_WEIGHT_DEMILIGHTBehdad Esfahbod1-0/+2
Part of https://bugs.freedesktop.org/show_bug.cgi?id=81453 Also hooks up FC_WEIGHT_BOOK to fcfreetype.c.
2014-06-12Deprecate FC_HASH and don't compute itBehdad Esfahbod1-1/+1
It was added without proper measurement and a fuzzy possible use-case (font servers) in mind, but reality check shows that this significantly slows down caching. As such, deprecate it and do NOT compute hash during caching. Makes caching two to three times faster (ignoring the 2 second delay in fc-cache).
2014-03-26Fix missing docsAkira TAGOH4-4/+95
2014-03-07Update doc to include the version info of `since when'Akira TAGOH8-4/+19
Version section was getting confused to the API's availability, even though it was the version the doc was genereated. So moving it into the footer and added @SINCE@ field in the data.
2014-02-06Add a doc for FcDirCacheRescanAkira TAGOH1-0/+10
2013-10-09Add missing doc for FcStrListFirst and fix a typoAkira TAGOH1-1/+9
2013-09-24doc/fccharset.fncs: Describe the map format in more detailW. Trevor King1-6/+30
The previous documentation for FcCharSetFirstPage and FcCharSetNextPage was technically accurate, but a bit terse. I've added an example using the returned page (root code point) and map to give folks something concrete to work with. I've also documented FC_CHARSET_DONE, which wasn't mentioned at all before.
2013-09-10Bug 68955 - Deprecate / remove FC_RASTERIZERAkira TAGOH2-2/+2
2013-04-10documented FC_HASH and FC_POSTSCRIPT_NAMEAkira TAGOH1-0/+3
2013-03-05Bug 59456 - Adding a --sysroot like option to fc-cacheAkira TAGOH1-0/+21
Add an ability to set the system root to generate the caches. In order to do this, new APIs, FcConfigGetSysRoot() and FcConfigSetSysRoot() is available.
2013-02-06Use LOG_COMPILER and AM_TESTS_ENVIRONMENTQuentin Glidic1-1/+4
TESTS_ENVIRONMENT is deprecated and should be reserved to the user to override the test environment <ext>_LOG_COMPILER is meant to contain the program that runs the test with <ext> extension LOG_COMPILER is for extensionless tests AM_TESTS_ENVIRONMENT is meant to set the environment for the tests https://bugs.freedesktop.org/show_bug.cgi?id=60192 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
2013-02-01Bug 23757 - Add mode="delete" to <edit>Akira TAGOH1-0/+2
Add two edit mode, "delete" and "delete_all". what values are being deleted depends on <test> as documented. if the target object is same to what is tested, matching value there will be deleted. otherwise all of values in the object will be deleted. so this would means both edit mode will not take any expressions. e.g. Given that the testing is always true here, the following rules: <match> <test name="foo" compare="eq"> <string>bar</string> </test> <edit name="foo" mode="delete"/> </match> will removes "bar" string from "foo" object. and: <match> <test name="foo" compare="eq"> <string>foo</string> </test> <edit name="bar" mode="delete"/> </match> will removes all of values in "bar" object.
2013-01-15Bug 59379 - FC_PRGNAMEBehdad Esfahbod2-1/+3
Can be used for per-application configuration.
2013-01-15Bug 50497 - RFE: Add OpenType feature tags supportAkira TAGOH2-0/+3
Add FC_FONT_FEATURES to store the feature tags to be enabled.
2013-01-09Bug 29312 - RFE: feature to indicate which characters are missing to satisfy ↵Akira TAGOH1-0/+8
the language support Add fc-validate to check the language coverage in a font.