Mike Frysinger
6f020161e8
FcStrPlus: optimize a little
...
We've already calculated the lengths of these strings, so re-use those
values to avoid having to rescan the strings multiple times.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-02-21 14:09:51 -05:00
Akira TAGOH
2b010e46e6
Bug 44826 - <alias> must contain only a single <family>
...
Fix invalid syntax around alias elements in 30-metric-aliases.conf
40-nonlatin.conf and 45-latin.conf.
Patch from lolilolicon
2012-02-21 16:23:22 +09:00
Akira TAGOH
54dd481512
Get rid of the unexpected family name
...
UmePlus P Gothic isn't a serif font.
2012-02-21 15:43:59 +09:00
MINAMI Hirokazu
1c13fee11a
Bug 43406 - typo of Japanese font name in conf.d/65-nonlatin.conf
...
Fix a typo.
Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21 15:43:59 +09:00
Pravin Satpute
a53553b4b6
Bug 43321 - Required corrections in urdu.orth file
...
Drop U+0629 and U+0647, and add U+06c3 to ur.orth
Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21 15:40:46 +09:00
Jinkyu Yi
8c58dc2768
Bug 42423 - make default Korean font from Un to Nanum
...
Update 40-nonlatin.conf and 65-nonlatin.conf for Nanum korean fonts.
Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21 15:32:42 +09:00
Akira TAGOH
a18ca17b62
Bug 40452 - Running 'fc-match --all' core dumps when no fonts are installed
...
This would changes the behavior of FcFontSort().
it won't returns NULL afterward.
2012-02-21 15:29:56 +09:00
Akira TAGOH
cbb6ee1662
Bug 35517 - Remove Apple Roman cmap support
...
Get rid of the apple roman encoding related code
2012-02-21 15:16:14 +09:00
Akira TAGOH
d3c4382216
Add a missing file
2012-02-21 15:11:30 +09:00
Akira TAGOH
5582043a49
Bug 32965 - Asturian (ast-ES) language matching missing ḷḷḥ
...
Add U+1E24, U+1E25, U+1E36 and U+1e37 for Asturian
2012-02-21 15:08:47 +09:00
Akira TAGOH
dab0afd810
Remove the unnecessary comment in ks.orth
2012-02-21 14:45:52 +09:00
Pravin Satpute
dedc16733a
Bug 27195 - need updates to ks.orth file
...
Add U+0620, U+0657, U+065f, U+0672, U+0673 and U+06c4 for Kashmiri
See http://www.unicode.org/charts/PDF/U0600.pdf
Signed-off-by: Akira TAGOH <akira@tagoh.org>
2012-02-21 14:45:52 +09:00
Akira TAGOH
a1ecd679db
Bug 24744 - No n'ko orthography
...
Add nqo.orth for N'Ko
2011-11-14 17:44:24 +09:00
Behdad Esfahbod
19651262e9
Add FcPublic to FcLangSetUnion and FcLangSetSubtract
...
Patch from ssp
2011-10-06 14:59:04 -04:00
Behdad Esfahbod
3951fbaa39
Fix parallel build
2011-10-05 15:12:48 -04:00
Behdad Esfahbod
082caefb6d
Bug 41171 - Invalid use of memset
2011-09-24 13:52:05 -04:00
Behdad Esfahbod
bf3bfa72d9
Fix stupid bug in FcFontSort()
...
I broke FcFontSort() language handling at the end of 2008 with this
commit: c7641f28
G-d knows how many of the lang-matching bugs in bugzilla will be
fixed by this changed...
I'm really sorry, everyone!
2011-06-22 13:06:19 -04:00
Behdad Esfahbod
e61eba94ef
Switch fc-cat to use FcPatternFormat()
...
Added the a builtin "fccat" to FcPatternFormat().
2011-06-20 11:55:25 -04:00
Behdad Esfahbod
a15ac5d384
Switch fc-match to use FcPatternFormat()
...
Fix small bug in FcPatternFormat that was letting element-default to
consume the convertor sequence.
2011-06-20 11:32:46 -04:00
Behdad Esfahbod
e0be405a1d
Bug 26718 - "fc-match sans file" doesn't work
...
- Do not throw away FC_FILE in FcNameUnparse
- Update the builtin "fclist" format to remove FC_FILE properly instead
- Switch fc-list to use FcPatternFormat()
Note that I had previously broken fc-list and it was not showing the
file name anymore. No one noticed that it seems! Now fixed.
2011-06-20 11:22:17 -04:00
Behdad Esfahbod
0fcf866d44
Bug 36577 - Updating cache with no-bitmaps disables bitmap fonts...
...
Do not remove blacklisted fonts during cache generation. We already
apply the blacklist when reading the caches. The idea always has been
that the config should not affect caches built, although that design
was tarnished with the introduction of target="scan" configurations.
2011-06-20 11:07:56 -04:00
Behdad Esfahbod
0392abf791
[.gitignore] Update
2011-04-12 22:15:37 -04:00
Behdad Esfahbod
1c475d5c8c
Bug 35587 - Add padding to make valgrind and glibc not hate each other
2011-03-28 16:33:12 -04:00
Behdad Esfahbod
f0ee5761e1
Fix warning
2011-03-14 18:58:13 -03:00
Behdad Esfahbod
c21fb9ac27
Always define FcStat as a function
...
Such that first arg is const char *. We also need to make more changes
in that function as part of some other bug.
2011-03-14 18:49:21 -03:00
Behdad Esfahbod
b5617e636c
More doc typo fixes
2011-03-14 18:23:56 -03:00
Behdad Esfahbod
6c7915c105
Mark constant strings as constant
...
Fixes a few compiler warnings in fcxml.c and makes it clear that they
should not be freed.
2011-03-14 18:21:32 -03:00
Behdad Esfahbod
c76ed777dd
Bug 30566 - fcformat.c:interpret_enumerate() passes uninitialized idx to FcPatternGetLangSet()
2011-03-14 18:04:59 -03:00
Behdad Esfahbod
ccc239b386
Bug 20113 - Uighur (ug) orthography incomplete
2011-03-14 17:28:53 -03:00
Brad Hards
7baa20c759
Documentation fixes
2011-03-11 19:43:42 -03:00
Behdad Esfahbod
9bfe7bad1c
Remove --enable-maintainer-mode from autogen.sh
2011-03-11 19:40:38 -03:00
Behdad Esfahbod
e1bb01bfdc
Update CaseFolding.txt to Unicode 6.0
2011-01-21 16:34:52 -05:00
Behdad Esfahbod
e10a42178c
Remove AM_MAINTAINER_MODE
...
That macro is simply broken.
This was also brought up in:
Bug 32679 - fontconfig-2.8.0 does not cross compile
2011-01-03 22:18:38 -05:00
Behdad Esfahbod
0c7b867617
Fix assertion failure on le32d4
...
Reported by Jon TURNEY.
2011-01-02 13:25:29 -07:00
Behdad Esfahbod
e63f90ce74
Doc nit
2010-12-28 02:58:16 -06:00
Behdad Esfahbod
43bf659eed
Skip <range> elements with begin > end
2010-12-28 02:55:31 -06:00
Behdad Esfahbod
8c625aa01f
Add <range> support for <blank> into the DTD
2010-12-28 02:52:06 -06:00
Behdad Esfahbod
549c9962a4
Allow editing charset and lang in target="scan"
...
Merge commit 'fa269cf812ee304534b0e4c44662202496008db0'
Fixes:
Bug 31969 - Can't modify charset in target="scan"
Bug 23758 - Can't modify lang in target="scan"
2010-12-28 02:51:10 -06:00
Behdad Esfahbod
30fd4fac9c
Bump version
2010-12-28 01:28:39 -06:00
Behdad Esfahbod
d1a0fca316
Make fc-arch stuff cross-compiling-safe
...
Fixes:
Bug 32679 - fontconfig-2.8.0 does not cross compile
Bug 25462 - Cross-compilation doesn't work
2010-12-28 01:22:34 -06:00
Behdad Esfahbod
2a6b235ff6
Make most generated-files cross-compiling-safe
...
By simply including a copy in the tarball.
Remains fc-arch which is trickier.
2010-12-27 13:20:47 -06:00
Akira TAGOH
fa269cf812
add some documents
2010-12-09 11:57:24 +09:00
Akira TAGOH
3c862aad9f
Add editing langset feature.
...
The syntax to add any langset to the langset table looks like:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="lang" mode="assign">
<plus>
<name>lang</name>
<langset>
<string>zh-cn</string>
<string>zh-tw</string>
</langset>
</plus>
</edit>
</match>
To remove any langset from the langset table:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="lang" mode="assign">
<minus>
<name>lang</name>
<langset>
<string>ja</string>
</langset>
</minus>
</edit>
</match>
2010-12-09 11:40:08 +09:00
Akira TAGOH
d975cdda78
Add the range support in blank element
2010-12-09 11:36:26 +09:00
Akira TAGOH
51e352a1bd
add some document for range and charset.
2010-12-09 11:32:26 +09:00
Akira TAGOH
857b7efe1e
Add charset editing feature.
...
The syntax to add any characters to the charset table looks like:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="charset" mode="assign">
<plus>
<name>charset</name>
<charset>
<int>0x3220</int> <!-- PARENTHESIZED IDEOGRAPH ONE -->
</charset>
</plus>
</edit>
</match>
To remove any characters from the charset table:
<match target="scan">
<test name="family">
<string>Buggy Sans</string>
</test>
<edit name="charset" mode="assign">
<minus>
<name>charset</name>
<charset>
<int>0x06CC</int> <!-- ARABIC LETTER FARSI YEH -->
<int>0x06D2</int> <!-- ARABIC LETTER YEH BARREE -->
<int>0x06D3</int> <!-- ARABIC LETTER YEH BARREE WITH HAMZA ABOVE -->
</charset>
</minus>
</edit>
</match>
You could also use the range element for convenience:
...
<charset>
<int>0x06CC</int> <!-- ARABIC LETTER FARSI YEH -->
<range>
<int>0x06D2</int> <!-- ARABIC LETTER YEH BARREE -->
<int>0x06D3</int> <!-- ARABIC LETTER YEH BARREE WITH HAMZA ABOVE -->
</range>
</charset>
...
2010-12-09 11:09:24 +09:00
Behdad Esfahbod
0d47cfabd8
Bug 28958 - lang=en matches other langs
...
Patch from Akira TAGOH.
2010-12-07 18:48:56 -05:00
Behdad Esfahbod
1e7a2a4f6c
Fix returned value
2010-12-02 08:13:59 -05:00
Behdad Esfahbod
5aaf466d38
Cleanup copyright notices to replace "Keith Packard" with "the author(s)"
2010-11-10 16:45:42 -05:00
Behdad Esfahbod
1f5c675fed
Add more copyright owners
2010-11-10 15:27:10 -05:00