Keith Packard [Mon, 25 Jul 2005 20:39:19 +0000 (20:39 +0000)]
Various GCC 4 cleanups for signed vs unsigned char
Match only [0-9]*.conf files in <include>{directory}</include> elements to
avoid loading *.rpmsave or .dpkg-old files. (otaylor)
Carl Worth [Fri, 15 Jul 2005 17:43:44 +0000 (17:43 +0000)]
Rename FcPatternThawAll to FcPatternFini.
Pull the FcObjectStateName hash table out to file scope, and add
FcObjectStaticNameFini so that FcFini will cleanup this hash table as
well.
Clear FILE* to NULL after fclose.
Keith Packard [Fri, 20 May 2005 15:56:51 +0000 (15:56 +0000)]
The ka.orth file requires several characters which are not used anymore in
modern Georgian and which are missing in the free Georgian TrueType
fonts downloadable at:
http://aiet.qartuli.net/docs/georgian_on_linux_en.php
reviewed by: Mike Fabian Bug: 3352
Keith Packard [Thu, 21 Apr 2005 19:03:53 +0000 (19:03 +0000)]
Don't force bitmap font enable in default configuration; allows users to
override this in ~/.fonts.conf
Updated translations
Destroy font configuration on exit to help valgrind
Use own transcoding routines in preference to iconv which appears to have
leaks in some translators. Call iconv_close after using iconv (oops).
Prefer unicode encoding of Euro char as some fonts mis-encode Euro in other
ones.
Must fetch bitmap glyphs to get width values to check for
monospace/dual-width fonts.
Keith Packard [Thu, 10 Mar 2005 22:06:20 +0000 (22:06 +0000)]
Update to reflect configuration changes
Fix Autohint vs Autohinter mistake
Adopt changes from Josselin Mouette for configuration descriptions Update
debian to version 2.3.1-2
Keith Packard [Sat, 5 Mar 2005 23:50:55 +0000 (23:50 +0000)]
Include space and remove numbers from valid script tags. This ensures that
tags like 'lao ' work while rejecting those which have any digits.
Eliminate a spurious debugging variable (len)
Keith Packard [Sat, 5 Mar 2005 20:58:39 +0000 (20:58 +0000)]
Josselin Mouette:
Include 2.3 release information in changelog Add Josselin Mouette as an
Uploader Set hinting_type to low priority configuration option
Manish Singh:
yes_bitmaps.conf -> yes-bitmaps.conf
Funda Wang:
Johap -> Johab
Keith Packard [Thu, 3 Mar 2005 06:20:57 +0000 (06:20 +0000)]
Move debian-specific conf file examples upstream.
Sub-pixel configuration examples must smash subpixel value as Xft always
sets it from X.
Change sub-pixel rendering debconf descriptions from Enable/Disable to
Always/Never.
Keith Packard [Thu, 3 Mar 2005 01:59:28 +0000 (01:59 +0000)]
Ignore more build detritus
Add debian package construction stuff.
Update to newer versions of these tools
Get library manuals to build again (we love automake).
Update debian build system to switch maintainers and deal with 2.3
functionality
Keith Packard [Tue, 1 Mar 2005 20:36:48 +0000 (20:36 +0000)]
Generate and install PDF versions of the manuals
Fix formatting
Add missing exported functions, fix data types
Add missing pattern elements.
Add missing pattern elements. Document conf.d usage, clarify available
orthography list. Fix some config file attributes. Complete list of
constants.
Mark FC_SOURCE deprecated.
Don't set FC_SOURCE any longer.
Keith Packard [Mon, 28 Feb 2005 18:56:15 +0000 (18:56 +0000)]
Create prototype /etc/fonts/conf.d directory with a few sample
configuration files. Deprecate use of local.conf for local
customizations in favor of this directory based scheme which is more
easily integrated into installation systems.
Tag FC_EMBOLDEN as a boolean variable
Keith Packard [Wed, 29 Dec 2004 19:37:14 +0000 (19:37 +0000)]
Document ASCII limitations of Fc character conversion macros
Fix off-by-one error in utf-8 case walking code. Add FcStrDowncase (useful
for testing case conversion functions)
Keith Packard [Wed, 29 Dec 2004 09:15:17 +0000 (09:15 +0000)]
Adopt some RedHat suggestions for standard font configuration.
Add new helper program 'fc-case' to construct case folding tables from
standard Unicode CaseFolding.txt file
Re-implement case insensitive functions with Unicode aware versions
(including full case folding mappings)
Keith Packard [Tue, 14 Dec 2004 00:12:25 +0000 (00:12 +0000)]
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>
Keith Packard [Fri, 10 Dec 2004 16:48:08 +0000 (16:48 +0000)]
Configuration changes to request synthetic emboldening of fonts. The actual
emboldening code will live in Xft.
reviewed by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 9 Dec 2004 19:36:30 +0000 (19:36 +0000)]
Currently Russian (ru) requires 0406 and 0456 (І and і), but these were
eliminated in Russian in 1918 in favor of 0418 and 0438 (И and и),
and don't even appear in KOI8-R. (The hypothesis that they don't appear
in KOI8-R due to their similarity with Latin I and i is eliminated by
their presence in KOI8-U.) I have a couple of fonts with Russian
support that don't have the letter.
Therefore, 0406 and 0456 should be removed from or commented out of ru.orth
reviewed by: Keith Packard <keithp@keithp.com>
Keith Packard [Tue, 7 Dec 2004 01:36:26 +0000 (01:36 +0000)]
Reviewed by: Keith Packard <keithp@keithp.com>
memoize strings and share a single copy for all uses. Note that this could
be improved further by using statically allocated blocks and gluing
multiple strings together, but I'm basically lazy. In my environment
with 800 font files, I get a savings of about 90KB.
Keith Packard [Sun, 5 Dec 2004 07:44:08 +0000 (07:44 +0000)]
Update links to new freedesktop.org locations
Add uninstall-local to get rid of fonts.conf and local.conf if they match
the distributed versions. Fixes 'make distcheck'
Keith Packard [Sun, 5 Dec 2004 06:19:46 +0000 (06:19 +0000)]
Sleep for two seconds before exiting to make sure timestamps for future
changes have distinct mod times in the file system. Bug #1982.
Add Punjabi orthography. Bug #1671.
reviewed by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 5 Dec 2004 05:49:20 +0000 (05:49 +0000)]
Just remove the FC_FONTDATE -- it has locale issues and annoys redhat
multi-arch installs. Now that all X fonts are included without
prejudice, the chances of the date being at all interesting are rather
limited. Bug #415.
Add copyright and license
Keith Packard [Sun, 5 Dec 2004 05:03:52 +0000 (05:03 +0000)]
Change default set of fonts to include all of /usr/X11R6/lib/X11/fonts (or
wherever the X fonts are located).
Document new <include>directory-name</include> semantics
add <include ignore_missing="yes">conf.d</include>
Add selectfont to ignore bitmap fonts, add comment for selectfont which
accepts bitmap fonts.
Allow <include> configuration elements to reference directories. Parse and
load all files of the form [0-9]* in sorted order.
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 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 [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 [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 [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 [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.
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 [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.
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.