summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-12-25Bump version to 2.11.912.11.91Akira TAGOH3-4/+80
2014-12-25Fix a typoAkira TAGOH1-0/+1
missing a terminator caused a document generation fail.
2014-12-25Bump the cache version to 5Akira TAGOH2-2/+2
FcPattern isn't compatible to the older.
2014-12-24fc-cache: Add an option to raise an error if no fonts foundAkira TAGOH2-10/+47
and get back the behavior.
2014-12-16fc-cache: make a fail if no fonts processed on a given pathAkira TAGOH1-1/+4
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-14Treat color fonts as scalableBehdad Esfahbod1-9/+18
All color fonts are designed to be scaled, even if they only have bitmap strikes. Client is responsible to scale the bitmaps. This is in constrast to non-color strikes... Clients can still use FC_OUTLINE to distinguish bitmap vs outline fonts. Previously FC_OUTLINE and FC_SCALABLE always had the same value. Now FC_SCALABLE is set to (FC_OUTLINE || FC_COLOR). Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=87122
2014-12-14Add FC_COLORBehdad Esfahbod5-0/+10
Only adds "color" to pattern if FreeType version supports color. Based on patch from Jungshik Shin.
2014-12-12Fix buffer overflow in copying PS nameBehdad Esfahbod1-1/+2
As reported on the mailing list by Tanel Liiv. Found using American Fuzzy Lop.
2014-12-09Returns False if no fonts foundAkira TAGOH2-14/+19
https://bugs.freedesktop.org/show_bug.cgi?id=86950
2014-11-06Update aliases for new URW fontsAkira TAGOH3-11/+98
Patch from Tom Yan https://bugs.freedesktop.org/show_bug.cgi?id=85225
2014-10-03Revert "Bug 73291 - poppler does not show fl ligature"Akira TAGOH1-6/+0
This reverts commit c6aa4d4bfcbed14f39d070fe7ef90a4b74642ee7. This issue has been fixed in poppler and we no longer need to patch it out in fontconfig.
2014-09-25Add FcRangeGetDouble()Akira TAGOH3-0/+36
https://bugs.freedesktop.org/show_bug.cgi?id=82876
2014-08-20Revert "[fcmatch] When matching, reserve score 0 for when elements don't exist"Behdad Esfahbod1-1/+1
This reverts commit a5a384c5ffb479e095092c2aaedd406f8785280a. I don't remember what I had in mind for "We will use this property later.", but the change was wrong. If a font pattern doesn't have any value for element, it must be interpretted as "it matches any value perfectly. And "perfectly" must have a score of 0 for that to happen. This was actually affecting bitmap fonts (in a bad way), as the change made an outline font to always be preferred over a (otherwise equal) bitmap font, even for the exact size of the bitmap font. That probably was never noticed by anyone, but with the font range support this has become clear (and worked around by Akira). To clean that up, I'm reverting this so I can land the rest of patches for bug 80873. https://bugs.freedesktop.org/show_bug.cgi?id=80873#c10
2014-08-13Note FcConfigSetCurrent() increases the refcount in documentAkira TAGOH1-1/+2
2014-08-12Fix the memory leak in fc-catAkira TAGOH1-6/+2
2014-08-12Increase the refcount in FcConfigSetCurrent()Akira TAGOH3-1/+14
https://bugs.freedesktop.org/show_bug.cgi?id=82432
2014-08-11fallback to the another method to lock when link() failedAkira TAGOH1-1/+1
Bug 82358 - FcAtomicLock fails on OS X on network mounts https://bugs.freedesktop.org/show_bug.cgi?id=82358
2014-08-06Fix previous commitBehdad Esfahbod1-1/+1
Ouch!
2014-08-06Trebuchet MS is a sans-serif font, not serifBehdad Esfahbod1-4/+4
https://bugs.freedesktop.org/show_bug.cgi?id=82099
2014-08-06If OS/2 table says weight is 1 to 9, multiply by 100Behdad Esfahbod1-1/+8
https://bugs.freedesktop.org/show_bug.cgi?id=82228
2014-08-06Fix assertion failureBehdad Esfahbod1-1/+1
https://bugs.freedesktop.org/show_bug.cgi?id=82220 https://bugs.freedesktop.org/show_bug.cgi?id=82228
2014-07-27Remove unneeded FcPublicBehdad Esfahbod1-2/+2
2014-07-26Export recently added APIBehdad Esfahbod4-0/+16
We should remove this alias mess.
2014-07-25Linearly interpolate weight valuesBehdad Esfahbod6-26/+141
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 Esfahbod2-3/+3
Such that Regular is closer to Medium than to DemiLight
2014-07-25Add FC_WEIGHT_DEMILIGHTBehdad Esfahbod4-1/+13
Part of https://bugs.freedesktop.org/show_bug.cgi?id=81453 Also hooks up FC_WEIGHT_BOOK to fcfreetype.c.
2014-07-24Improve / cleanup namelang matchingBehdad Esfahbod1-22/+23
Previously, if the patten didn't request, eg, style, then the style and stylelang were fully copied from the font, even though the pattern had a stylelang. Eg: $ fc-match 'Apple Color Emoji:stylelang=en' Apple Color Emoji.ttf: "Apple Color Emoji" "標準體" This change both fixes that and makes the code much more readable. Now: $ fc-match 'Apple Color Emoji:stylelang=en' Apple Color Emoji.ttf: "Apple Color Emoji" "Regular"
2014-07-24Remove unused regex codeBehdad Esfahbod3-66/+2
Regex matching was disabled in f6244d2cf231e1dc756f3e941e61b9bf124879bb
2014-07-24Use lang=und instead of lang=xx for "undetermined"Behdad Esfahbod1-2/+2
That's the correct BCP 47 code.
2014-07-24Ouch, fix bufferBehdad Esfahbod1-2/+2
2014-07-24Decode MacRoman encoding in name table without iconvBehdad Esfahbod1-0/+162
iconv support was turned off by default in f30a5d76. Some fonts, like Apple Color Emoji, only have their English name in a MacRoman entry. As such, decode MacRoman ourselves.
2014-07-24Call FcInitDebug from FcFreeTypeQueryFaceBehdad Esfahbod1-0/+2
2014-07-23Revert "Symlinks fix for DESTDIR"Behdad Esfahbod1-2/+2
This reverts commit fd5667b42c253da9c4c5502f53b5c0fb7e0f589e. This was wrong, as pointed out by Akira on the list. We want symlinks to final destination.
2014-07-23Symlinks fix for DESTDIRBehdad Esfahbod1-2/+2
From: https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-fontconfig/fontconfig-2.11.0-symlinks-fix.patch
2014-07-23Don't add duplicate langAkira TAGOH1-0/+28
Don't add duplicate lang from FC_LANG if the pattern already has. https://bugs.freedesktop.org/show_bug.cgi?id=81186
2014-07-19More mingw32 MemoryBarrier() fixupBehdad Esfahbod1-1/+6
2014-07-11Update mingw32 MemoryBarrier from HarfBuzzBehdad Esfahbod1-9/+9
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=81228
2014-07-08Fix a gcc warningAkira TAGOH1-1/+1
test-migration.c:17:5: warning: pointer targets in passing argument 1 of 'FcStrDirname' differ in signedness
2014-07-06Fixup previous commitBehdad Esfahbod2-13/+1
2014-07-06Remove HASH from matching prioritiesBehdad Esfahbod1-1/+0
We deprecated FC_HASH, so doesn't make sense to sort on it.
2014-07-06CommentsBehdad Esfahbod1-0/+6
2014-07-04Fix a crash when no sysroot is given and failed to load the default fonts.confAkira TAGOH1-4/+7
2014-07-04Fix charset unparse after recent changesBehdad Esfahbod1-1/+1
2014-07-03MinorBehdad Esfahbod1-2/+2
2014-07-03Change charset parse/unparse format to be human readableBehdad Esfahbod1-144/+79
Previous format was unusable. New format is ranges of hex values. To choose space character and Latin capital letters for example: $ fc-pattern ':charset=20 41-5a' Pattern has 1 elts (size 16) charset: 0000: 00000000 00000001 07fffffe 00000000 00000000 00000000 00000000 00000000 (s)
2014-06-30Rework for 5004e8e01f5de30ad01904e57ea0eda006ab3a0cAkira TAGOH1-15/+9
Don't read/write from/to the XDG dirs even if XDG_*_HOME is set and the home directory is disabled.
2014-06-30Don't read/write from/to the XDG dirs if the home directory is disabledAkira TAGOH2-4/+37
2014-06-18Update blanks to Unicode 7.0Behdad Esfahbod1-0/+4
2014-06-18Update CaseFolding.txt to Unicode 7.0Akira TAGOH1-6/+53