Ross Burton
ae7d0f3593
Put all FcPattern objects though FcObjectStaticName and do pointer trather
...
than string compares
2005-03-31 19:16:49 +00:00
Keith Packard
5cf8c5364f
I changed FcFontSetSort to respect the generic aliases better in the face
...
of language matching.
What I did was to ammend the strict sort order used by FcFontSort so that
it 'satisfies' the language specified in the pattern by locating the
best matching font supporting each pattern language and then ignores
language in the remaining fonts for purposes of matching.
So, when asking for 'sans:lang=en', you'll get an English font first, and
then the remaining fonts sorted with respect to the 'sans' alias alone
-- pushing Kochi fonts ahead of other English-supporting Han fonts.
reviewed by: Owen Taylor <otaylor@redhat.com>
2004-12-14 00:12:25 +00:00
Keith Packard
46b51147d1
Change files from ISO-Latin-1 to UTF-8
2004-12-07 01:14:46 +00:00
Keith Packard
ec0c740e39
Add FcResultOutOfMemory to provide an accurate error when FcFontSetMatch
...
fails in this way
Make #warning about lacking various FreeType features indicate which
version those features appeared so users know how to fix the problem
(Thanks to Anton Tropashko)
2004-05-29 19:32:41 +00:00
Keith Packard
81fa16c336
add font widths and extend weight from OS/2 table
2003-03-12 22:16:43 +00:00
Keith Packard
4bd4418ab5
Change RCS tag
2003-03-05 05:51:27 +00:00
Keith Packard
2d39321f1e
Allow double or integer for numeric values in matching
2003-02-26 19:13:17 +00:00
Keith Packard
a342e87dc3
Add fontversion field
2002-09-26 00:17:28 +00:00
Keith Packard
9dac3c5945
More complete memory tracking. Install always overwrites header files
2002-08-31 22:17:32 +00:00
Keith Packard
d8d7395877
Reimplement FC_LANG as FcTypeLang, freeze patterns, other cleanup
2002-08-22 07:36:45 +00:00
Keith Packard
fa244f3d88
Various config changes plus a couple of optimizations from Owen
2002-08-19 19:32:05 +00:00
Keith Packard
938bc63358
Fix weird first/not-first lameness in font matches, replacing with target
...
qualifiers on test elements. Update library manual page.
2002-08-11 18:11:04 +00:00
Keith Packard
82f4243f22
Switch to RFC 3066 based lang names
2002-07-06 23:47:44 +00:00
Keith Packard
4c0036053a
Add strong/weak pattern value binding, add known charsets for automatic
...
lang computation
2002-06-29 20:31:02 +00:00
Keith Packard
c689ec2291
Add slanting for fonts without oblique/italic varient. Fix matching code to
...
make this work
2002-06-19 21:32:51 +00:00
Keith Packard
6f6563edb5
Add ref counting to font config patterns so that FcFontSort return values
...
are persistant
2002-06-19 20:08:22 +00:00
Keith Packard
f534109f5a
Add a few more families to fonts.conf, make FC_ANTIALIAS less important for
...
matching, fix family->generic mapping
2002-06-18 22:23:05 +00:00
Keith Packard
d0f07b8d58
Add FcPatternHash, clean up a few valgrind issues
2002-06-08 17:32:05 +00:00
Keith Packard
e9be9cd10a
Add FcPatternEqualSubset for Pango, clean up some internal FcPattern
...
interfaces
2002-06-03 08:31:15 +00:00
Keith Packard
88c747e206
Eliminate some compiler warnings, avoid seg fault when matching missing
...
values
2002-06-02 21:07:57 +00:00
Keith Packard
20ac65ab00
Change FcCharSet datastructure, add FcFontSort API
2002-05-31 04:42:42 +00:00
Keith Packard
bc9469baad
Optimize after profiling. Fix FcStrCmp to return correct sign
2002-05-29 22:07:33 +00:00
Keith Packard
1412a69926
Apply some obvious fixes to FcFontSetSort from Owen. Speed up FcCharSet
...
primitives and FcFontSetSort
2002-05-29 08:21:33 +00:00
Keith Packard
0ab36ca8f9
Replace silly avl sort with qsort, add FcPatternEqual
2002-05-22 04:37:07 +00:00
Keith Packard
216fac98e0
Add match routine that returns list of fonts
2002-03-03 18:39:05 +00:00
Keith Packard
80c053b725
Add better error reporting when loading config file
2002-02-28 16:51:48 +00:00
Keith Packard
ccb3e93b27
fontconfig library: build fixes and compiler warning fixes
2002-02-15 06:01:28 +00:00
Keith Packard
24330d27f8
Initial revision
2002-02-14 23:34:13 +00:00