[Fonts] Re: [ft] Creating an [OT]TF font from BDF font

2006-01-23 Thread Keith Packard
On Thu, 2005-12-08 at 09:26 -0700, Mark Leisher wrote: Being lazy, I'm asking here before actually looking around. Can anyone recommend programs that create [OT]TF fonts from BDF fonts? Juliusz wrote fonttosfnt which combines multiple BDF sizes into a single SFNT. It's in CVS at

[Fonts] Re: [ft] Creating an [OT]TF font from BDF font

2006-01-23 Thread Keith Packard
On Fri, 2005-12-09 at 01:07 +0100, Werner LEMBERG wrote: Hmm, why not simply adding a special `BDF ' table which holds all properties? This should be straightforward, and you get lossless conversion. Yes, this was my plan. I got side-tracked before I managed to implement it though. I need

[Fonts] Re: [ft] Creating an [OT]TF font from BDF font

2006-01-23 Thread Keith Packard
On Wed, 2005-12-14 at 22:16 +0100, David Turner wrote: I'd like to know the following: - is this feature useful for fontconfig / libXft ? Or should we yank it from FreeType ? It's not terribly useful for fontconfig or libXft, where it is useful is in converting sfnt back into BDF files

[Fonts] Re: [ft] Creating an [OT]TF font from BDF font

2006-01-23 Thread Keith Packard
On Wed, 2005-12-21 at 15:18 +0100, Juliusz Chroboczek wrote: It's not terribly useful for fontconfig or libXft, where it is useful is in converting sfnt back into BDF files in case you want to take a font and use it with old non-TTF supporting X servers. Well, that you already can do,

[Fonts] Re: [ft] Creating an [OT]TF font from BDF font

2006-01-23 Thread Keith Packard
On Wed, 2005-12-21 at 09:36 -0800, George Williams wrote: On Thu, 2005-12-08 at 10:50, Keith Packard wrote: should do the trick. It's reasonably functional, the plan was to use it to eliminate BDF/PCF fonts from the X distribution and ship only TTF files. That's been stalled for a couple

[Fonts] Re: [ft] Creating an [OT]TF font from BDF font

2006-01-23 Thread Keith Packard
On Tue, 2006-01-17 at 15:12 -0800, George Williams wrote: I was told so when I implemented them in fontforge. But I wasn't in the initial discussions so I'm not the best source. I also recall discussions which discovered that the .otb extension was otherwise unused in most of the world. It

[Fonts] Re: Choosing an extension for bitmap-only SFNTs

2003-07-10 Thread Keith Packard
Around 1 o'clock on Jul 10, Juliusz Chroboczek wrote: I suggest they should have the extension ``.sfnt'', with ``.sfn'' being recognised for compatibility with 8+3 systems. While using four letter extensions would be nice, I'm afraid there remain file system formats which provide for only

[Fonts] Re: [Fontconfig] May these patches go into next release?

2003-03-01 Thread Keith Packard
Around 16 o'clock on Feb 28, Yun-Ta Tsai wrote: I found some patches that will fix several truetype fonts problems with asian characters both on printing to printer and showing on screen, also support asian font name. Unfortunatelly, I can't patch by myself because qt keep releasing , so I

Re: [Fonts] Problem with XRenderCompositeText16 in Render extension

2003-02-18 Thread Keith Packard
Around 6 o'clock on Feb 19, ITO Tsuyoshi wrote: According to the code of the Render extension on X server side, XRenderCompositeText16 should send a glyphset-switch sign (a glyph element with len = 0xff) to the X server when it encounters a glyph element whose glyphset is different from the

Re: [Fonts] Re: where to include ~/.fonts.conf

2003-02-08 Thread Keith Packard
Around 22 o'clock on Feb 8, Mike FABIAN wrote: To make it possible to override as much as possible of the global settings in /etc/fonts/fonts.conf with user preferences in ~/.fonts.conf, it seems to be better to put the line The subtleties of the contents of /etc/fonts/fonts.conf appear to

[Fonts] Re: Question on xft font library.

2003-01-17 Thread Keith Packard
it a whirl in a while. It shouldn't be hard -- add another pattern element requesting artificial emboldening that routes code through this function and then add pattern matching stuff to the font configuration which turns that on when a pattern requests bold but the matched face is not. Keith Packard

Re: [Fonts]Wrong CJK bitmap font size selected by fontconfig/Xft 2.1?

2003-01-01 Thread Keith Packard
This will generate quite a bit of output, but should provide sufficient information to see why one font is preferred to another, although you're likely to need to look a the fontconfig source to make much sense of the output. Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]Will 4.3.0 get rid of 8bit bitmap fonts?

2002-12-19 Thread Keith Packard
Around 5 o'clock on Dec 19, Mike A. Harris wrote: The last discussion I recall on this was that ttf font file format would be used with embedded bitmaps. Is this still planned for 4.3.0? No, not for 4.3, that would have needed to be ready before the feature freeze date. Keith Packard

Re: [Fonts]Dealing with standard bitmap fonts in Xft

2002-12-17 Thread Keith Packard
the ugly bitmap fonts to (ugly, but outline) replacement fonts of similar style and metric. Does this look better? Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman

Re: [Fonts]Dealing with standard bitmap fonts in Xft

2002-12-16 Thread Keith Packard
on the screen at all when an AA font is available that supports the desired language. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Dealing with standard bitmap fonts in Xft

2002-12-16 Thread Keith Packard
there area freely distributable outline fonts with coverage equivalent to the core XFree86 bitmap fonts, I fear we will need to expose bitmap fonts to ensure reasonable display of as many languages as possible. Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]syntax for disabling using embedded bitmaps for specific font size ranges

2002-12-05 Thread Keith Packard
edit name=antialias mode=assign boolfalse/bool /edit /match instead. You can add size tests inside the match element if you like to narrow the range to specific sizes. Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]syntax for disabling using embedded bitmaps for specific font size ranges

2002-12-05 Thread Keith Packard
, then placing the UTF-8 encoded name in the configuration file should work. I worked pretty hard to avoid that by searching all over the font for an ascii name though; on my system, I see only MS Gothic and not ゴシック. Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]syntax for disabling using embedded bitmaps for specific font size ranges

2002-12-05 Thread Keith Packard
a bit lax in enforcing the syntax. Please add: ?xml version=1.0? !DOCTYPE fontconfig SYSTEM fonts.dtd fontconfig at the top of the file and /fontconfig at the bottom. /me is hoping for real font configuration tools soon. Keith PackardXFree86 Core Team

Re: [Fonts]zh-hk font support/priority in Xft

2002-12-04 Thread Keith Packard
along with the orthography update. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]zh-hk font support/priority in Xft/Pango

2002-12-02 Thread Keith Packard
. The trick is to make sure that only fonts with reasonable HKSCS support are matched. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]fontconfig and generic family names

2002-11-24 Thread Keith Packard
take affect immediately. Then you should have changed the file and broadcast a message to get the apps to re-read the configuration files. That's easy enough to do. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts

Re: [Fonts]Xft2 without Xrender

2002-11-15 Thread Keith Packard
minor changes like this one. Perhaps I'll get around to a 2.1 release in the next couple of weeks. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo

Re: [Fonts]ttf files

2002-11-14 Thread Keith Packard
/n022003l.pfb: Nimbus Mono L:style=Regular /usr/share/fonts/type1/gsfonts/n022004l.pfb: Nimbus Mono L:style=Bold /usr/share/fonts/type1/gsfonts/n022024l.pfb: Nimbus Mono L:style=Bold Oblique Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]xft and pcf font

2002-11-04 Thread Keith Packard
r m and so is not rotated (verticallayout=FcFalse). FreeType doesn't transform bitmap glyphs at all; not even for this trivial case. I don't think it would be hard to detect this and flip the bits around inside FreeType. Keith PackardXFree86 Core TeamHP

Re: [Fonts]Re: making editable charset/lang in fonts.conf

2002-10-22 Thread Keith Packard
; that would make adding coverage information possible with existing apps. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]fontconfig peculiarity(??)

2002-10-18 Thread Keith Packard
marked as supporting Korean as it is missing a large number of Han glyphs, totalling some 3136 characters from the KSC 5601-1992 encoding. Many Korean documents will not be completely covered by this font. It also isn't marked as supporting Japanese or any of the Chinese languages. Keith Packard

Re: [Fonts]fontconfig peculiarity(??)

2002-10-18 Thread Keith Packard
, you can easily build a charset encompassing those and ask for the font covering the greatest number. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo

Re: [Fonts]libXft 1.2 prevents xftcache from scanning Speedo fonts

2002-10-07 Thread Keith Packard
/usr/X11R6/lib/X11/fonts/Speedo xftcache is obsolete; use fc-cache instead. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Thyromanes fonts not working with xft2

2002-09-30 Thread Keith Packard
Around 1 o'clock on Sep 30, David Starner wrote: (Package ttf-thryomanes.) Unfortunately, they don't seem to display correctly in XFT2 programs don't seem to display correctly isn't very descriptive; can you provide a sample problem? Keith PackardXFree86 Core TeamHP

Re: [Fonts]fontconfig core dump

2002-09-25 Thread Keith Packard
$ + * $XFree86: xc/lib/fontconfig/src/fcpat.c,v 1.16 2002/08/31 22:17:32 keithp Exp $ * * Copyright © 2000 Keith Packard, member of The XFree86 Project, Inc. * -280,6 +280,11 FcValueList*list; }; +typedef union _FcValueListAlign { +FcValueListEnt ent

Re: [Fonts]Storing the cached font (fonts.cache) information

2002-09-07 Thread Keith Packard
Around 22 o'clock on Sep 6, Ken Deeter wrote: I am concerned that without doing something like this, adding a font directory would require modifying two files instead of one (the fonts.conf to add the dir and the font mapping table file) Adding a font directory almost never involves

[Fonts]Storing the cached font (fonts.cache) information

2002-09-06 Thread Keith Packard
/fonts-cache-1 Any directories not matching a configured prefix would map to themselves; this makes the existing configuration and cache files compatible. Does this seem like a good plan? Can anyone come up with a better way of moving the storage of fonts.cache into /var/cache? Keith Packard

Re: [Fonts]Storing the cached font (fonts.cache) information

2002-09-06 Thread Keith Packard
/cache/fontconfig then. I don't really care. Though, I think /var/cache/fonts should be the better, as I like the style what fontconfig do. To some extent, we can ask if a slight reinterpretation of the FSH can be permitted in this case. Keith PackardXFree86 Core TeamHP

Re: [Fonts]Compilation fail in fcpackage-2.0-Xrender

2002-09-06 Thread Keith Packard
to replace the render.h found in /usr/X11R6/include/X11/extensions to get things to build. If so, let me know and I'll see how I can fix the package. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL

Re: [Fonts]Storing the cached font (fonts.cache) information

2002-09-06 Thread Keith Packard
. Thanks. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Re: Segfault at startup with openoffice fonts and fontconfig2

2002-09-05 Thread Keith Packard
to have some issues of this nature; I'm continuing to use the XFree86 copy of 2.1.1 for now and have moved the debian versions out of the way. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED

Re: [Fonts]edit antialias=false equivalent in fonts.conf

2002-08-27 Thread Keith Packard
this, then will Xft now use the embedded bitmaps for the non-antialiased sizes or will it try to use the outlines like before? Xft1 still has the old (broken) behaviour. The current version of Xft uses bitmaps when antialiasing is disabled. Keith PackardXFree86 Core TeamHP Cambridge

Re: [Fonts]Is hinting worth the effort?

2002-08-21 Thread Keith Packard
at only a very few sizes. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]fonts.conf problem combining gylphs from different fonts

2002-08-14 Thread Keith Packard
by the font. This is quite common with GB18030 fonts which covers GB2312, Big5 and JIS X 0208. A GB18030 font which includes only bit 18 in the codePageRange bits will only be listed as supporting zh-cn and not zh-tw, even though it nominally covers Big5. Keith PackardXFree86 Core Team

Re: [Fonts]Korean orthography for fontconfig

2002-08-14 Thread Keith Packard
font, but the right fix is to go and get reasonable fonts; the alternate fix is to place the complete font first in the list. I'll go dig up a unicode table for KSC-5607.1987 and replace the existing ko map with that. Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]enquiry about pcf/bdf font support

2002-08-13 Thread Keith Packard
experience writing TrueType font files, help would be greatly appreciated in building something that can create these new files. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http

Re: [Fonts]Unicode coverage for Syriac

2002-08-13 Thread Keith Packard
? Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]enquiry about pcf/bdf font support

2002-08-13 Thread Keith Packard
the current Xserver/fontserver 'font' library to fontconfig, we'll have done this for both applications. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo

Re: [Fonts]enquiry about pcf/bdf font support

2002-08-13 Thread Keith Packard
news. There's no particular hurry for this, but it would be nice to get things tested in Xft and fontconfig before XFree86 4.3 goes out the door. Switching the main fonts in the release can wait until a later day. We eagerly await future developments in this area :-) Keith Packard

Re: [Fonts]enquiry about pcf/bdf font support

2002-08-13 Thread Keith Packard
, a proportional and monospaced version of the same face. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]enquiry about pcf/bdf font support

2002-08-13 Thread Keith Packard
listing code can advertise whatever DPI it likes. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Fcpackage release candidate 1

2002-08-12 Thread Keith Packard
verification. Otherwise, the directory is scanned and each file checked against the cache. Again, the per-user cache is automatically updated when this information changes, so the rescanning affects only the first application to run after the filesystem has changed. Keith Packard

Re: [Fonts]Using current locale in font selection

2002-08-12 Thread Keith Packard
debugging situations. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Using current locale in font selection

2002-08-12 Thread Keith Packard
in the generic alias and you'll have a uniform (if displeasing) appearance across almost all text. One explicit goal is to permit a global configuration which is generally usable by everyone without change; any local customizations neeed to the global configuration file should be considered bugs. Keith

Re: [Fonts]Using current locale in font selection

2002-08-12 Thread Keith Packard
display garbage on the screen. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Using current locale in font selection

2002-08-12 Thread Keith Packard
and fontconfig to make it even easier. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

[Fonts]fcpackage RC2

2002-08-11 Thread Keith Packard
I've built and tagged RC2 for fontconfig. The bits are available at: http://keithp.com/fonts/pub/fcpackage.rc2.tar.gz Keith PackardXFree86 Core TeamHP Cambridge Research Lab Major changes: fontconfig: The weird first/not-first hack for checking the font vs

Re: [Fonts]Fcpackage release candidate 1

2002-08-01 Thread Keith Packard
versions of Xft is probably only asking for trouble. I've also not updated Qt3 in a few weeks making the patch somewhat stale at this point. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED

Re: [Fonts]Fcpackage release candidate 1

2002-08-01 Thread Keith Packard
a problem with that. Xft2/fontconfig are on a separate release schedule from XFree86 making it possible to update them independently. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http

[Fonts]Fcpackage release candidate 1

2002-07-28 Thread Keith Packard
intend to stabilize and ship this version in short order; I'm interested in hearing about problems and concerns, but functional enhancements will await a new version. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts

Re: [Fonts]fontconfig, Xft2, pango-head, gtk2 - play together?

2002-07-25 Thread Keith Packard
Around 12 o'clock on Jul 25, Owen Taylor wrote: If you are using Qt with Xft, there are a couple of fixes on top of qt3.diff you'll need; the attached are what we have in Rawhide in a quick check. Thanks for the update; I'll cut a new patch after I test this fix. Keith Packard

Re: [Fonts]Font family name problem

2002-07-22 Thread Keith Packard
with their languages. This can be done with FcNameUnparse/FcNameParse which generate UTF-8 encoded strings for the font name. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http

Re: [Fonts]Font family name problem

2002-07-22 Thread Keith Packard
of available fonts to match the ascii name. This would have the (questionable) property where the application would find out that configured fonts were missing. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list

Re: [Fonts]Font family name problem

2002-07-18 Thread Keith Packard
of names to a name appropriate for the user is the only locale -dependent step. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Font family name problem

2002-07-17 Thread Keith Packard
elements. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Re: Unicode coverage for languages

2002-07-12 Thread Keith Packard
rather automatically extract all of the necessary information as this will be less prone to user error. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo

Re: [Fonts]Font family name problem

2002-07-12 Thread Keith Packard
of a trademarked font name which would then go and match some other font. We were allowed to make fontconfig aliases between the Lucidux and Luxi families because of this. If you can think of a way to reconcile these two requirements, please suggest it. Keith PackardXFree86 Core TeamHP

Re: [Fonts]Font family name problem

2002-07-12 Thread Keith Packard
support only ASCII names? Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Devel] Re: [Fonts]RE: Font family name problem

2002-07-12 Thread Keith Packard
Microsoft/Unicode entry. I've started putting code together that ignores the FreeType family/style values and walks the name table if available. I have an apple roman transcoding table available and I'm not afraid to use it. Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]Font family name problem

2002-07-12 Thread Keith Packard
Around 18 o'clock on Jul 12, Keith Packard wrote: I'll add transcoding for apple-roman names. My intent is to prefer english names, and failing that, to choose the first entry in a known encoding. Well, *that* was entertaining. It almost works. Except for MS Mincho. For both

Re: [Fonts]Font family name problem

2002-07-12 Thread Keith Packard
with a list of 150 languages. This leaves us wondering how to display localized names for users of other languages. I guess we'll assume they speak the modern lingua franca. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts

Re: [Fonts]Re: Unicode coverage for languages

2002-07-11 Thread Keith Packard
changes to the font database caching mechanism or would require editing each font database entry at startup by running it through some configuration. Note that the format shown above nicely parallels the per-language font configuration mechanism already used by Mozilla. Keith Packard

[Fonts]Re: [I18n]Unicode coverage for languages

2002-07-10 Thread Keith Packard
, then it couldn't even distinguish between Ming and Sung forms. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Font matching with generic family names and language groups

2002-07-10 Thread Keith Packard
, but applications using this font shouldn't care; they already need to load multiple fonts if they want to display Georgian and Chinese at the same time, that support obviously can handle adding another font for ASCII. Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]Re: [I18n]Using current locale in font selection

2002-07-10 Thread Keith Packard
that POSIX specifies the order in which these are used, and given that all of my test programs don't call setlocale, I've added the trivial code to fetch from the environment. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts

Re: [Fonts]Re: [I18n]Using current locale in font selection

2002-07-09 Thread Keith Packard
with applications which haven't called setlocale (LC_ALL, )? Do I: a) call setlocal (LC_ALL, ) myself? b) use $LANG or $LC_CTYPE? c) Ignore the locale information and leave the font language preference unset? Keith PackardXFree86 Core

[Fonts]Re: [I18n]Using current locale in font selection

2002-07-08 Thread Keith Packard
? (no case conversion is necessary, FC_LANG comparisons are already case insensitive). Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

[Fonts]Adding language information for TrueType fonts

2002-07-07 Thread Keith Packard
from the latin scripts; that should leave all of them including only the alphabet. I've also committed this whole mess to XFree86 CVS; the coverage files can be found in xc/lib/fontconfig/fc-lang/*.orth Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]fcfreetype.c

2002-07-07 Thread Keith Packard
Around 22 o'clock on Jul 7, Yu Shao wrote: It seems a typo and I think using FcCodePageSet is always safer? Good catch, there was a typo, but that code has since been deleted in favor of the new RFC 3066-based language detection. Keith PackardXFree86 Core TeamHP Cambridge

[Fonts]Re: [I18n]Unicode coverage for languages

2002-07-07 Thread Keith Packard
based on the codePageRange bits. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts] [I18n] language tags in fontconfig

2002-07-07 Thread Keith Packard
of this prohibits applications and users from explicitly selecting a font which is inappropriate for their current locale or document language -- explicit family names are now given greater weight than language matching when selecting fonts. Keith PackardXFree86 Core TeamHP Cambridge Research

[Fonts]Using current locale in font selection

2002-07-07 Thread Keith Packard
of some random font most likely suitable for Latin languages. Or would this only lead to confusion and chaos? Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman

Re: [Fonts]Automatic 'lang' determination

2002-06-29 Thread Keith Packard
are distinct from the set of codepoitns suitable for the display of traditional Chinese. That would be nicer than my current kludge of marking any font suitable for traditional chinese as unsuitable for simplified Chinese. Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]Automatic 'lang' determination

2002-06-29 Thread Keith Packard
if (covers_almost_all_of (Big5)) font supports traditional Chinese Thanks, this works just fine. I'm much happier with this solution. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL

Re: [Fonts]Automatic 'lang' determination

2002-06-29 Thread Keith Packard
with testing only a signifiant fraction, for all other languages all chars must be tested. Yes, the tolerance value given for the Han languages is 500 codepoints while the value for non-Han languages is two orders of magnitude smaller. Keith PackardXFree86 Core TeamHP Cambridge Research

Re: [Fonts]Automatic 'lang' determination

2002-06-29 Thread Keith Packard
in verifying it's sensitivity and specificity are welcome to check it out and run: $ FC_DEBUG=256 fc-cache -f This will display the number of missing glyphs in each language for each font and also display errors in the lang value relative to that specified in the TrueType file. Keith Packard

Re: [Fonts][OpenType] Hinting question

2002-06-13 Thread Keith Packard
that far from X-specific calls. The Mozilla code follows the X core-font version which always uses pixel sizes; the UI exposes pixel sizes in the configuration UI. I did't like this, but followed along in the Mozilla patches. Keith PackardXFree86 Core TeamHP Cambridge Research

Re: [Fonts][OpenType] Hinting question

2002-06-07 Thread Keith Packard
the information was available, I could pass it down. (As you might guess, I'm a big fan of optically scaled fonts.) I was unaware that any foundrys were spending the time and money to build fonts in this fashion any more. It would be nice... Keith PackardXFree86 Core TeamHP

Re: [Fonts]Re: Saving memory in fontconfig

2002-06-04 Thread Keith Packard
for and share whole maps. Yes, the sharing is recursive so that fonts which are sharing every page end up sharing the top level as well. That's why the number of CharSets is (significantly) less than the number of fonts. Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: UTF-16 [was: Re: Xft and MathML [Was: [Fonts]Xft for OpenGL]]

2002-06-04 Thread Keith Packard
was somehow different from UTF-16. Thanks for the clarification. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Re: Adobe Glyph Names - Unicode 3.2 (was: Xft and MathML)

2002-06-04 Thread Keith Packard
that will be hidden to from the bulk of Mozilla's current PUA codepoint adventure. I'm currently busy getting pango and fontconfig talking sweetly, so I won't be able to explore MathML right now. Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]Re: Adobe Glyph Names - Unicode 3.2 (was: Xft and MathML)

2002-06-04 Thread Keith Packard
extends that function. That allows me to get from Unicode 3.2 codepoints to glyphs; now I need to get from the mozilla PUA codepoints to Unicode 3.2 codepoints. A definitive list of the PUA codepoints that are used would be very useful here. Keith PackardXFree86 Core TeamHP

[Fonts]Re: Font lookup ranges [was Re: Notes on Pango Xft backend]

2002-06-03 Thread Keith Packard
the language tag to fontconfig and expect that the matching rules will generate a reasonable match. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Xft for OpenGL

2002-06-03 Thread Keith Packard
except plug X, fontconfig and FreeType together; a GL-specific library should be of similar (if not smaller) size. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman

Re: [Fonts]Xft for OpenGL

2002-06-03 Thread Keith Packard
, but I'm willing to try. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Updated prerelease for Xft and fontconfig

2002-05-31 Thread Keith Packard
Around 0 o'clock on May 31, Keith Packard wrote: I've updated the tarballs containing Xft and fontconfig bits and have included Xrender and Xft1 sources as well. Those haven't been 'autoconf'ized yet, so they only build with xmkmf. I forgot to include the path to the files; it's the same

Re: [Fonts]Ciach bitscale! [2nd attempt]

2002-05-31 Thread Keith Packard
scaling; that keeps broken applications working while avoiding horrors on the screen, and eliminating the scaling code from the server. Perhaps ':nearest'? Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL

Re: [Fonts]typo in xft-config.in

2002-05-30 Thread Keith Packard
Around 22 o'clock on May 30, =?ISO-8859-1?Q?Joaqu=EDn?= Cuenca Abela wrote: is it only me, or xft-config.in (line 92) should be: libs=-lXft ... Yes, that's correct -- someone else noted this a couple of days ago. The fix is in CVS, but I haven't rebuilt the tarballs since then. Keith

Re: [Fonts]What's language tag??

2002-05-30 Thread Keith Packard
arabicasmo708 /* 61 */ #define FC_LANG_WE_LATIN_1 welatin1 /* 62 */ #define FC_LANG_US us/* 63 */ Keith PackardXFree86 Core TeamHP Cambridge Research Lab

Re: [Fonts]Releasing Xft2 and Fontconfig

2002-05-29 Thread Keith Packard
it doesn't crash. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

Re: [Fonts]Releasing Xft2 and Fontconfig

2002-05-29 Thread Keith Packard
of FreeType (2.0.9) doesn't seem to find any non-BMP encodings in the type-4 table, it finds 30 type 4 segments in code2001.ttf, the last of which encodes glyph 65535. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts

[Fonts]Re: Notes on Pango Xft backend

2002-05-29 Thread Keith Packard
-fontset mapping; that should be pretty straightforward, perhaps give a few additional APIs in fontconfig to generate hash values for patterns. Other than that, I think most of the code here should run fast enough to be left uncached. Keith PackardXFree86 Core TeamHP Cambridge

[Fonts]Re: Xft2 and pcf fonts

2002-05-28 Thread Keith Packard
Around 17 o'clock on May 28, Yu Shao wrote: I tested Xft2 with some Chinese pcf fonts, like gb16fs.pcf.gz come with Xfree86 4.2, FreeType can't yet read PCF fonts that are compressed; it should be able to read them if you uncompress them first. Keith PackardXFree86 Core Team

[Fonts]Re: Font lookup ranges [was Re: Notes on Pango Xft backend]

2002-05-28 Thread Keith Packard
to be used to select preferred faces for each language tag. Keith PackardXFree86 Core TeamHP Cambridge Research Lab ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts

  1   2   >