Re: [Fonts]New version of FreeType 2 backend
Hi, In [EMAIL PROTECTED] Juliusz Chroboczek [EMAIL PROTECTED] wrote: You will find a new version of the FreeType 2 backend on http://www.pps.jussieu.fr/~jch/software/files/ New features: - generates the same set of properties as the FreeType 1 version; - support for the X11R6 XLFD extensions. I found a typo in ftfuncs.c. This cause segv and to crash X server. --- FreeType/ftfuncs.c~ Wed Apr 10 14:16:14 2002 +++ FreeType/ftfuncs.c Sat Apr 13 00:04:53 2002 @@ -792,7 +792,7 @@ /* Create the property name.*/ info-props[i].name = -MakeAtom(xlfd_props[i], strlen(xlfd_props[j]), TRUE); +MakeAtom(xlfd_props[j], strlen(xlfd_props[j]), TRUE); switch(j) { case 6: /* pixel size */ -- ISHIKAWA Mutsumi [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
Re: [Fonts]New version of FreeType 2 backend
ISHIKAWA == ISHIKAWA Mutsumi [EMAIL PROTECTED] writes: ISHIKAWA I found a typo in ftfuncs.c. This cause segv and to crash ISHIKAWA X server. Cool. That cures the segfault I was seeing. A quick test with xfs and fslsfonts -l gives ony two warnings. It complains that it could not find encoding ascii-0 and cff otf fonts still will not load. ttmkfdir was used to generate the fonts.dir files containing ascii-0 (I didn't use mkfontscale to rebuild fonts.scale and fonts.dir...). I've now also tested with the backend loaded into the x server. Type1 fonts seem to have incorrect bounding boxes, per xfd(1x) output. I tried with arbitrary scaling, resolution, angles and shearing (ie matrix transforms). Would an fslsfonts output provide some help here? Or something else? -JimC ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
Re: [Fonts]New version of FreeType 2 backend
IM I found a typo in ftfuncs.c. This cause segv and to crash IM X server. Thanks a lot. I'll make this fix available with the source, and integrate it in the next version. JC It complains that it could not find encoding ascii-0 That's a ttmkfdir weirdness. The FreeType 1 backend did behave in the same manner (falling back to ISO 8859-1), but didn't complain unless compiled with debugging. I've decided to be more verbose about errors in this version. JC cff otf fonts still will not load. I do not have access to any OpenType/CFF fonts. If you can point me to some that are available on the web, I'll see what the problem is. JC I've now also tested with the backend loaded into the x server. Type1 JC fonts seem to have incorrect bounding boxes, per xfd(1x) output. You mean incorrect glyph metrics, or incorrect font-level metrics? I know of at least one problem: I transform the Type 1 font-level metrics by 1000*I rather than by the font's matrix as should be. You'll get incorrect font-level metrics for any font that uses a non-standard font matrix. There are probably other problems: I've really done almost no testing yet. JC Would an fslsfonts output provide some help here? Thanks for the offer, but it's premature; if you still see issues with the next version (no schedule), we will want to discuss them. Thanks to both of you for the feedback, Juliusz ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
Re: [Fonts]New version of FreeType 2 backend
JC Unfortunately, this is a no-go. Although xlsfonts(1x) works JC perfectly, any attempt to actually render a scalable font via the new JC backend dies with a segfault. Curious... I don't think there are any binary incompatibilities visible to drivers between 4.2.0 and current HEAD. Please do try a homogeneous recompile and tell me aboput your findings. JC And also against HEAD if I JC can figure out a way to do so w/o killing the current install. I don't have my sources handy, so I'm citing from memory. Please double-check the following incantations: #define ProjectRoot /usr/local/X11R6 #define NothingOutsideProjectRoot YES Note that if you do this and also define BuildServersOnly, you'll need to softlink your fonts and security directories from /usr/X11R6 to /usr/local/X11R6. (Actually I don't bother about security and just live with the warnings when testing the /usr/local installation.) Juliusz ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
Re: [Fonts]New version of FreeType 2 backend
I finally got a compile of this done. I did it on a suse 7.3 i386 box using their .spec file edited to add the freetype2 patch and the new freetype backend. I then tested with the new backend and my already installed version of their 4.2.0 binary release. Unfortunately, this is a no-go. Although xlsfonts(1x) works perfectly, any attempt to actually render a scalable font via the new backend dies with a segfault. The log shows very little of value. I'll try again w/o the cross verisoning. And also against HEAD if I can figure out a way to do so w/o killing the current install. (I do not have a scratch box at hand to test on) -JimC ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
[Fonts]New version of FreeType 2 backend
You will find a new version of the FreeType 2 backend on http://www.pps.jussieu.fr/~jch/software/files/ New features: - generates the same set of properties as the FreeType 1 version; - support for the X11R6 XLFD extensions. Still to do: - support for non-AGL Type 1 fonts (typically symbol fonts); - support for CIDFOnts. At the same place, you will find a minor patch for the mkfontscale utility (submitted as 5214). Juliusz ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts