Keith Packard
6ae6acf317
Add instructions for doing a release
...
clean up .spec file; perhaps this will be useful to somebody...
Update to 2.2.93
Make 'scanopen' static so GCC doesn't whine about lacking prototype
Add WARN_CFLAGS to pass -W flags for GCC systems
Change various char types around to match across function calls. Fixed bug
in using available_sizes[i].height which is in pixels, not 64ths of a
pixel.
2004-04-14 18:08:41 +00:00
Keith Packard
89e28590f3
Force FC_FOUNDRY and FC_WIDTH to always be set so that matches looking for
...
explicit values prefer exact matches
2004-03-06 23:44:11 +00:00
Keith Packard
02638f1ace
Supplied by: mfabian@suse.de (Mike FABIAN)
...
Bug #260 fc-cache generates wrong spacing values for bitmap fonts Was using
(strcmp (a,b)) instead of (!strcmp(a,b)).
2004-03-02 16:48:51 +00:00
Keith Packard
208a720f00
Ok, so I messed up the test for y_ppem. Let's see if I got it right this
...
time.
2004-02-11 18:53:05 +00:00
Keith Packard
4f38fa8106
Pre-2.1.5 versions of FreeType didn't include y_ppem in the FT_Bitmap_Size
...
record. Add a configure.in test for this and change the code
accordingly (using height instead).
2004-02-10 18:38:58 +00:00
Keith Packard
b68b96464f
Add Low Saxon orthography (Kenneth Rohde Christiansen <kenneth@gnu.org>)
...
Oops. Left 'newest.set' unset, which would miscompute the newest file
Add FcGetPixelSize to extract correct pixel size from bdf/pcf font
properties (which report the wrong value in current FreeType)
Don't attempt to check for empty glyphs in non-scalable fonts; they have no
outlines...
2004-02-07 07:13:48 +00:00
Tor Lillqvist
f4c52909ab
fontconfig, at least as used by GIMP and/or PangoFT2 on Windows, crashes
...
when trying to save the cache if config->cache is NULL, which happens
if FcConfigHome() is NULL. Guard against that by using the temp folder
in that case.
2004-02-01 19:32:36 +00:00
Keith Packard
408dd9c07a
Switch to FreeType 2.1.7 style includes. Bug #150 .
...
reviewed by: Keith Packard <keithp@keithp.com>
2003-11-18 07:53:04 +00:00
Roozbeh Pournader
344a0e3361
Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
...
separators.
2003-11-10 17:34:36 +00:00
Owen Taylor
f077d662c0
Add a FC_HINT_STYLE key for patterns, with possible values
...
HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL. (Bug #117 )
2003-09-23 20:12:20 +00:00
Noah Levitt
a05d257fb3
Add new spacing value FC_DUAL (dual-width, as some CJK fonts). (bug #111 )
...
When checking for monospace and dual-width fonts, allow roughly a 3%
variance in the advances.
2003-09-06 19:40:41 +00:00
Manish Singh
3ef32bcdc4
FcConfigAppFontClear: Support passing NULL to use default config.
2003-09-01 05:11:17 +00:00
Carl Worth
34cd0514a2
Added new FcFini function for cleaning up all memory. Fixed a few memory
...
leaks. fc-list now calls FcFini, (and is now leak-free according to
valgrind)
2003-08-15 19:45:20 +00:00
Keith Packard
74a623e02e
Implement new semantics for Contains and LISTING:
...
LISTING requires that the font Contain all of the pattern values, where
Contain is redefined for strings to mean precise matching (so that
Courier 10 Pitch doesn't list Courier fonts)
"Contains" for lang means both langs have the same language and either the
same country or one is missing the country
2003-07-20 16:06:18 +00:00
Keith Packard
26da2bb42f
Was miscomputing end of string position for FcStrtod in locales with
...
multibyte separators
2003-07-09 17:04:17 +00:00
Keith Packard
656c69d6a8
Add autoconf checks for FT_Has_PS_Glyph_Names
2003-06-26 08:19:11 +00:00
Keith Packard
ee1debfdd9
Allow config->cache to be null (as it is when $HOME is not set)
2003-06-26 00:39:04 +00:00
Keith Packard
79621aa5c7
Lean on autoconf to find useful FreeType functions (bug 95)
2003-06-25 23:21:03 +00:00
Tor Lillqvist
92af858f2a
Trivial braino.
2003-06-15 22:45:12 +00:00
Tor Lillqvist
c3941ba9c0
Fix cut&paste error.
2003-06-15 22:35:52 +00:00
Tor Lillqvist
e5206dbcb3
Check also for DLL_EXPORT as indication of being built as a DLL on Win32.
2003-06-13 23:04:35 +00:00
Tor Lillqvist
ee1d81259e
Add share/doc directory. Add Fc*.3 man pages.
...
Set FC_DEFAULT_FONTS on Win32 to the WINDOWSFONTDIR token.
Move the LIBRARY and VERSION lines to the end, not to confuse libtool,
which expects the EXPORTS line to be the first. Add FcConfigEnableHome.
2003-06-13 22:43:28 +00:00
Keith Packard
947afeb566
Optimization in FcLangSetIndex was broken, occasionally returning a pointer
...
to the wrong location on miss
2003-06-09 17:31:03 +00:00
James Su
d4d1e8bc60
Fix "contains" op for strings and langsets.
2003-05-28 01:34:38 +00:00
Keith Packard
53183e66e5
Fix build error with BDF prop local. Free langset after query
2003-05-17 02:17:19 +00:00
Keith Packard
f777f1b35d
oops. Left the psfontinfo.weight matching code commented out while testing
...
other stuff...
2003-05-16 16:37:16 +00:00
Juliusz Chroboczek
ecb7c180d0
Extract spacing from XLFD atom
2003-05-14 20:23:24 +00:00
Keith Packard
0b7a0da20b
Use FcIsWidth to share code
...
Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
misclassifying some Han fonts as monospaced.
2003-05-12 20:48:59 +00:00
Juliusz Chroboczek
65d1441df8
Reinstate SETWIDTH_NAME parsing for legacy fonts, disappeared in 1.30.
2003-05-12 09:11:10 +00:00
Juliusz Chroboczek
0f362ad520
Generate FC_SIZE and FC_DPI for legacy bitmap fonts
2003-05-12 09:04:24 +00:00
Keith Packard
d47c9d6efe
Add filename-based accept/reject to ammend available fonts.
...
change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for older
FreeType releases.
2003-05-07 16:13:24 +00:00
Keith Packard
8ef6a58cb0
Add more .cvsignore entries
2003-05-04 22:58:29 +00:00
Keith Packard
7769c3213d
Handle Adobe glyph names for fonts which include ADOBE_CUSTOM encodings
2003-05-04 22:53:49 +00:00
Keith Packard
11fec41c0e
Grub through style to find weight/slant/width values when other techniques
...
fail
2003-05-02 01:11:53 +00:00
Keith Packard
1f71c4d878
Add book constant for book weight
2003-05-02 01:11:09 +00:00
Keith Packard
3760a63825
Add demi and book postscript weight names. Allow spaces in postscript and X
...
matching
2003-05-01 14:31:04 +00:00
Keith Packard
1af9b7b4d9
Typo in bitstream foundry name
2003-04-30 15:17:42 +00:00
Keith Packard
70ee88099e
Debug output for unknown ps weight names. ignore italic_angle for PS fonts
...
as FreeType already checks that
2003-04-24 17:31:03 +00:00
Keith Packard
f45d39b1fd
FcFontList broken when presented a charset - was comparing inclusion in the
...
wrong direction
2003-04-24 15:29:33 +00:00
Keith Packard
5f84b65a26
Handle pattern elements moving during multiple edits
2003-04-22 06:27:27 +00:00
Keith Packard
965f77940c
From James Su -- only part of page 0xff is Latin
2003-04-20 04:44:09 +00:00
Keith Packard
29d961a28e
Guard calls to FT_Get_BDF_Property to avoid freetype jumping through null
...
pointer
2003-04-18 15:56:05 +00:00
Keith Packard
3a30abdb84
Pass FONTCONFIG_PATH in arguments to get expanded
2003-04-17 21:50:24 +00:00
Keith Packard
2b2f2a714a
BDF properties not available until FreeType 2.1.4
2003-04-17 21:29:12 +00:00
Colin Walters
12d49d3cf4
Remove some unused variables, and initialize some other ones so gcc doesn't
...
warn us.
2003-04-17 17:43:04 +00:00
Keith Packard
0e7a434783
Search through the BDF properties for width and foundry information
2003-04-16 18:08:47 +00:00
Keith Packard
2e2121f910
Move foundry detection data into fcfreetype.c (which is getting rather
...
large at this point)
2003-04-16 16:19:38 +00:00
Keith Packard
3f7653c2ba
Fix unary operator parsing. Add floor, ceil, trunc and round unary
...
operators
2003-04-15 23:38:06 +00:00
Keith Packard
52253696cd
Clean up ps font weight matching and check for NULL
2003-04-15 17:01:39 +00:00
Juliusz Chroboczek
2ae95e77f7
Implemented foundry generation for Type 1 and TrueType
2003-04-11 23:45:59 +00:00