Keith Packard [Sun, 5 Dec 2004 00:26:06 +0000 (00:26 +0000)]
Create FC_FONTFORMAT from FT_Get_X11_Font_Format function where available.
This provides font file format information (BDF, Type 1, PCF, TrueType)
for each font. Closes #109.
Keith Packard [Sat, 4 Dec 2004 22:06:52 +0000 (22:06 +0000)]
Fix typo.
Add detection for font capabilities (bug #105)
reviewed by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 4 Dec 2004 19:41:10 +0000 (19:41 +0000)]
Move existing fonts.conf to fonts.conf.bak
Add detection of iconv
Document new selectfont elements
Switch to UTF-8 in comment
Add fullname, and family/style/fullname language entries
Respect selectfont/*/glob
Add support for selectfont
Add multi-lingual family/style/fullname support
Expose FcListPatternMatchAny (which selectfont/*/pattern uses)
Add new FcPatternRemove/FcPatternAppend. FcObjectStaticName stores computed
pattern element names which are required to be static.
Keith Packard [Thu, 9 Sep 2004 14:31:18 +0000 (14:31 +0000)]
Remove spurious / after $(DESTDIR)
reviewed by: keithp
Keith Packard [Wed, 30 Jun 2004 20:06:41 +0000 (20:06 +0000)]
Update for 2.2.96
Keith Packard [Wed, 30 Jun 2004 18:41:52 +0000 (18:41 +0000)]
Provided by: Lubos Lunak <l.lunak@suse.cz>
However FcConfigUptoDate() doesn't seem to work. See the attached patch.
First there's an obvious misplaced parenthesis making it return always
false, and second, even this call fails to detect font changes (e.g.
adding a new font to /usr/X11R6/lib/X11/fonts/truetype). The patch
should fix that as well. The problem seems to be triggered by my
fonts.conf specifying only /usr/X11R6/lib/X11/fonts , and therefore
config->configDirs doesn't include subdirs, unlike config->fontDirs.
Keith Packard [Thu, 3 Jun 2004 14:16:38 +0000 (14:16 +0000)]
Remove comma at end of FcResult enum definition.
Keith Packard [Sat, 29 May 2004 20:07:46 +0000 (20:07 +0000)]
Add steps to md5sum release
Keith Packard [Sat, 29 May 2004 19:49:52 +0000 (19:49 +0000)]
Add sh autogen.sh to INSTALL
Keith Packard [Sat, 29 May 2004 19:36:32 +0000 (19:36 +0000)]
Update for 2.2.95
Keith Packard [Sat, 29 May 2004 19:32:41 +0000 (19:32 +0000)]
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)
Keith Packard [Thu, 6 May 2004 02:28:37 +0000 (02:28 +0000)]
Replace MIN/MAX/ABS macros which happen to have come from FreeType with
fontconfig-specific ones (FC_*)
Keith Packard [Sat, 24 Apr 2004 02:54:40 +0000 (02:54 +0000)]
Extend release preparation instructions to include notification and
distribution steps
Keith Packard [Sat, 24 Apr 2004 01:09:36 +0000 (01:09 +0000)]
Update to 2.2.94 (2.2.93 shipped with broken libtool bits)
Keith Packard [Sat, 24 Apr 2004 01:06:32 +0000 (01:06 +0000)]
Ignore a few more autotool files
Keith Packard [Wed, 14 Apr 2004 18:08:41 +0000 (18:08 +0000)]
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.
Keith Packard [Sat, 6 Mar 2004 23:44:11 +0000 (23:44 +0000)]
Force FC_FOUNDRY and FC_WIDTH to always be set so that matches looking for
explicit values prefer exact matches
Keith Packard [Tue, 2 Mar 2004 16:48:51 +0000 (16:48 +0000)]
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)).
Manish Singh [Sun, 22 Feb 2004 02:21:37 +0000 (02:21 +0000)]
Cast strlen to int for printf, so we're 64-bit clean.
Keith Packard [Wed, 11 Feb 2004 18:53:05 +0000 (18:53 +0000)]
Ok, so I messed up the test for y_ppem. Let's see if I got it right this
time.
Keith Packard [Tue, 10 Feb 2004 18:38:58 +0000 (18:38 +0000)]
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).
Keith Packard [Sat, 7 Feb 2004 07:13:48 +0000 (07:13 +0000)]
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...
Tor Lillqvist [Sun, 1 Feb 2004 19:32:36 +0000 (19:32 +0000)]
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.
Roozbeh Pournader [Sat, 3 Jan 2004 18:27:29 +0000 (18:27 +0000)]
Added orthographies for Iranian Azerbaijani and Kurdish, and Pashto (Afghan
and Pakistani).
Updated Urdu orthography with real data.
Carl Worth [Fri, 12 Dec 2003 17:07:55 +0000 (17:07 +0000)]
Remove excessive whitespace (missed on previous commit)
Carl Worth [Thu, 11 Dec 2003 19:30:07 +0000 (19:30 +0000)]
Move man_MANS into the 'if USEDOCBOOK' block.
Move man_MANS into the 'if USEDOCBOOK' block. (all-local): Remove excessive
whitespace.
Add 'set -e' to abort when any program fails, (avoids printing of 'now type
make' after configure aborts).
Keith Packard [Tue, 18 Nov 2003 07:53:04 +0000 (07:53 +0000)]
Switch to FreeType 2.1.7 style includes. Bug #150.
reviewed by: Keith Packard <keithp@keithp.com>
Noah Levitt [Sun, 16 Nov 2003 19:08:04 +0000 (19:08 +0000)]
Add some example usages.
Roozbeh Pournader [Mon, 10 Nov 2003 17:34:36 +0000 (17:34 +0000)]
Fixed a bug "FcStrtod" in handling some cases with two-byte decimal
separators.
Keith Packard [Mon, 27 Oct 2003 10:47:53 +0000 (10:47 +0000)]
Update to version 2.2.92
Keith Packard [Mon, 27 Oct 2003 10:44:13 +0000 (10:44 +0000)]
Yet more cleanups to finish getting 'make distcheck' working This has been
tested to ensure that it even works from a _build directory.
Keith Packard [Mon, 27 Oct 2003 06:30:29 +0000 (06:30 +0000)]
Attempts to fix 'make distcheck' work. Things are progressing pretty well,
but there are still failures long into the process dealing with docs
(as always).
The big changes here are mostly to make $(srcdir) != "." work correctly,
fixing the docbook related sections and fc-lang were particularily
tricky. Docbook refuses to load system entities from anywhere other
than where the original .sgml file was located, so no luck looking in
"." for the configure-generated version.sgml and confdir.sgml files.
fc-lang needed help finding .orth files; added a -d option to set the
directory as the least evil of many options.
Now to go use a faster machine and try and wring out the last issues.
Keith Packard [Sun, 26 Oct 2003 16:52:28 +0000 (16:52 +0000)]
Tag version 2.2.91
Keith Packard [Sun, 26 Oct 2003 16:45:23 +0000 (16:45 +0000)]
Include confdir.sgml.in in EXTRA_DIST
Josselin Mouette [Thu, 9 Oct 2003 18:21:49 +0000 (18:21 +0000)]
Replace fc-cache and fc-list manpages with more detailed, SGML versions.
Owen Taylor [Tue, 23 Sep 2003 20:12:20 +0000 (20:12 +0000)]
Add a FC_HINT_STYLE key for patterns, with possible values
HINT_NONE/HINT_SLIGHT/HINT_MEDIUM/HINT_FULL. (Bug #117)
Owen Taylor [Tue, 23 Sep 2003 20:06:40 +0000 (20:06 +0000)]
Remove Georgian capitals, they aren't used for normal writing. (Bug #116)
Noah Levitt [Sat, 6 Sep 2003 19:40:41 +0000 (19:40 +0000)]
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.
Manish Singh [Mon, 1 Sep 2003 05:11:17 +0000 (05:11 +0000)]
FcConfigAppFontClear: Support passing NULL to use default config.
Carl Worth [Fri, 15 Aug 2003 19:45:20 +0000 (19:45 +0000)]
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)
Keith Packard [Tue, 12 Aug 2003 02:06:20 +0000 (02:06 +0000)]
Bug 103 -- FcObjectSetBuild must be terminated by (char *) 0 as varargs are
untyped
Keith Packard [Sun, 20 Jul 2003 17:14:47 +0000 (17:14 +0000)]
Wrap fcfreetype.h with _FCFUNCPROTOBEGIN/_FCFUNCPROTOEND
Keith Packard [Sun, 20 Jul 2003 16:06:18 +0000 (16:06 +0000)]
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
Keith Packard [Wed, 9 Jul 2003 17:04:17 +0000 (17:04 +0000)]
Was miscomputing end of string position for FcStrtod in locales with
multibyte separators
Keith Packard [Thu, 26 Jun 2003 08:19:11 +0000 (08:19 +0000)]
Add autoconf checks for FT_Has_PS_Glyph_Names
Keith Packard [Thu, 26 Jun 2003 00:39:04 +0000 (00:39 +0000)]
Allow config->cache to be null (as it is when $HOME is not set)
Keith Packard [Wed, 25 Jun 2003 23:21:03 +0000 (23:21 +0000)]
Lean on autoconf to find useful FreeType functions (bug 95)
Keith Packard [Tue, 17 Jun 2003 18:28:20 +0000 (18:28 +0000)]
Bug 75: dont build docs unless docbook is available. Dont install docs
unless they are pre-built or buildable
Keith Packard [Tue, 17 Jun 2003 17:31:16 +0000 (17:31 +0000)]
Add FreeFont entries, fix whitespace in fonts.conf.in (bug 93, from
vvas@hal.csd.auth.gr (Vasilis Vasaitis))
Tor Lillqvist [Sun, 15 Jun 2003 22:57:21 +0000 (22:57 +0000)]
Remove CRs from the out file before comparing (needed on Windows).
Tor Lillqvist [Sun, 15 Jun 2003 22:45:12 +0000 (22:45 +0000)]
Trivial braino.
Tor Lillqvist [Sun, 15 Jun 2003 22:35:52 +0000 (22:35 +0000)]
Fix cut&paste error.
Tor Lillqvist [Fri, 13 Jun 2003 23:04:35 +0000 (23:04 +0000)]
Check also for DLL_EXPORT as indication of being built as a DLL on Win32.
Tor Lillqvist [Fri, 13 Jun 2003 22:43:28 +0000 (22:43 +0000)]
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.
Keith Packard [Mon, 9 Jun 2003 19:21:06 +0000 (19:21 +0000)]
Update to version 2.2.90
Keith Packard [Mon, 9 Jun 2003 19:15:00 +0000 (19:15 +0000)]
Add a bunch of ChangeLog entries
Keith Packard [Mon, 9 Jun 2003 18:49:19 +0000 (18:49 +0000)]
Add fc-match program to demonstrate font matching from the command line
Keith Packard [Mon, 9 Jun 2003 17:31:03 +0000 (17:31 +0000)]
Optimization in FcLangSetIndex was broken, occasionally returning a pointer
to the wrong location on miss
Keith Packard [Mon, 9 Jun 2003 16:53:31 +0000 (16:53 +0000)]
Add fc-match program
Keith Packard [Sat, 31 May 2003 21:07:01 +0000 (21:07 +0000)]
(Bug 85) add support for culmus fonts
Keith Packard [Sat, 31 May 2003 14:58:41 +0000 (14:58 +0000)]
(Bug 87) Automake 1.4 doesn't do man_MAN1 correctly (Bug 88) Fix usage info
on non-long option systems (Tim Mooney)
James Su [Wed, 28 May 2003 01:34:38 +0000 (01:34 +0000)]
Fix "contains" op for strings and langsets.
Keith Packard [Sat, 17 May 2003 02:17:19 +0000 (02:17 +0000)]
Fix build error with BDF prop local. Free langset after query
Keith Packard [Fri, 16 May 2003 16:37:16 +0000 (16:37 +0000)]
oops. Left the psfontinfo.weight matching code commented out while testing
other stuff...
Juliusz Chroboczek [Wed, 14 May 2003 20:23:24 +0000 (20:23 +0000)]
Extract spacing from XLFD atom
Keith Packard [Mon, 12 May 2003 20:48:59 +0000 (20:48 +0000)]
Use FcIsWidth to share code
Set FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH when scanning fonts to avoid
misclassifying some Han fonts as monospaced.
Juliusz Chroboczek [Mon, 12 May 2003 09:11:10 +0000 (09:11 +0000)]
Reinstate SETWIDTH_NAME parsing for legacy fonts, disappeared in 1.30.
Juliusz Chroboczek [Mon, 12 May 2003 09:04:24 +0000 (09:04 +0000)]
Generate FC_SIZE and FC_DPI for legacy bitmap fonts
Keith Packard [Wed, 7 May 2003 16:13:24 +0000 (16:13 +0000)]
Add filename-based accept/reject to ammend available fonts.
change FT_ENCODING_ADOBE_CUSTOM to ft_encoding_adobe_custom for older
FreeType releases.
Keith Packard [Tue, 6 May 2003 14:26:34 +0000 (14:26 +0000)]
Remove 0b82 and Tamil numbers from tamil orthography (Jungshik Shin
<jshin@mailaps.org>)
Keith Packard [Sun, 4 May 2003 22:58:29 +0000 (22:58 +0000)]
Add more .cvsignore entries
Keith Packard [Sun, 4 May 2003 22:57:00 +0000 (22:57 +0000)]
Add more .cvsignore entries
Keith Packard [Sun, 4 May 2003 22:53:49 +0000 (22:53 +0000)]
Handle Adobe glyph names for fonts which include ADOBE_CUSTOM encodings
Keith Packard [Sun, 4 May 2003 22:51:36 +0000 (22:51 +0000)]
Add .cvsignore in new fc-glyphname dir
Keith Packard [Sun, 4 May 2003 22:50:17 +0000 (22:50 +0000)]
Add fc-glyphname to compute hash tables for Adobe glyph name to UCS4
conversion functions
Keith Packard [Fri, 2 May 2003 01:11:53 +0000 (01:11 +0000)]
Grub through style to find weight/slant/width values when other techniques
fail
Keith Packard [Fri, 2 May 2003 01:11:09 +0000 (01:11 +0000)]
Add book constant for book weight
Keith Packard [Fri, 2 May 2003 01:09:57 +0000 (01:09 +0000)]
Add FC_WEIGHT_BOOK as weight 75
Noah Levitt [Thu, 1 May 2003 16:20:27 +0000 (16:20 +0000)]
Fix expat function check.
Noah Levitt [Thu, 1 May 2003 16:15:28 +0000 (16:15 +0000)]
Check for an expat function that won't be there if expat is too old.
Keith Packard [Thu, 1 May 2003 14:31:04 +0000 (14:31 +0000)]
Add demi and book postscript weight names. Allow spaces in postscript and X
matching
Keith Packard [Wed, 30 Apr 2003 15:17:42 +0000 (15:17 +0000)]
Typo in bitstream foundry name
Keith Packard [Thu, 24 Apr 2003 17:31:03 +0000 (17:31 +0000)]
Debug output for unknown ps weight names. ignore italic_angle for PS fonts
as FreeType already checks that
Keith Packard [Thu, 24 Apr 2003 15:29:33 +0000 (15:29 +0000)]
FcFontList broken when presented a charset - was comparing inclusion in the
wrong direction
Keith Packard [Wed, 23 Apr 2003 04:45:39 +0000 (04:45 +0000)]
Oops. Missing newline in .cvsignore
Keith Packard [Wed, 23 Apr 2003 04:09:28 +0000 (04:09 +0000)]
Fix docs to close sgml tags
Keith Packard [Wed, 23 Apr 2003 04:06:18 +0000 (04:06 +0000)]
Add confdir.sgml to .cvsignore
Keith Packard [Wed, 23 Apr 2003 04:05:58 +0000 (04:05 +0000)]
Use CONFDIR instead of SYSCONFDIR/fonts in manual. Use awk to strip
trailing newline instead of leaving CVS file without a newline (which
will break at some point)
Noah Levitt [Wed, 23 Apr 2003 00:40:24 +0000 (00:40 +0000)]
Got rid of the newline at the end of the file. It's yucky but, I'm not sure
how else to get rid of the newline in the output.
Noah Levitt [Wed, 23 Apr 2003 00:08:03 +0000 (00:08 +0000)]
Getting closer to fixing /etc/fonts hard-coding.
Noah Levitt [Tue, 22 Apr 2003 23:34:50 +0000 (23:34 +0000)]
Testing syncmail yet again.
Keith Packard [Tue, 22 Apr 2003 16:53:18 +0000 (16:53 +0000)]
Fix autogen.sh to work with newer automakes
Keith Packard [Tue, 22 Apr 2003 06:27:27 +0000 (06:27 +0000)]
Handle pattern elements moving during multiple edits
Keith Packard [Mon, 21 Apr 2003 16:12:22 +0000 (16:12 +0000)]
Update to version 2.2.0
Noah Levitt [Mon, 21 Apr 2003 06:17:23 +0000 (06:17 +0000)]
Fixed variable name mistake.
Keith Packard [Sun, 20 Apr 2003 04:44:09 +0000 (04:44 +0000)]
From James Su -- only part of page 0xff is Latin
Keith Packard [Fri, 18 Apr 2003 15:56:05 +0000 (15:56 +0000)]
Guard calls to FT_Get_BDF_Property to avoid freetype jumping through null
pointer
Keith Packard [Thu, 17 Apr 2003 21:50:24 +0000 (21:50 +0000)]
Pass FONTCONFIG_PATH in arguments to get expanded
Keith Packard [Thu, 17 Apr 2003 21:29:12 +0000 (21:29 +0000)]
BDF properties not available until FreeType 2.1.4
Colin Walters [Thu, 17 Apr 2003 17:43:04 +0000 (17:43 +0000)]
Remove some unused variables, and initialize some other ones so gcc doesn't
warn us.