[ft] FreeTypeRasterizeGlyph() ?
Hi, I'm trying to figure out why, after debian etch's recent upgrade to xorg 7, emacs menu and buffer fonts look bad. I noticed that every time I start emacs, the following message gets appended a few times to Xorg.0.log: Warning: FreeTypeRasteriseGlyph() returns an error, so the backend tries to set a white space. My question is, what's causing this? Is it an emacs, freetype, or xorg problem, or something else, and should I send a bug report to somewhere on debian's lists? I appreciate any help. Some background: I already know about the change in the locations of fonts and my font paths have been changed to FontPathunix/:7100 FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID FontPath/usr/share/fonts/truetype FontPath/usr/local/share/fonts/truetype FontPath/usr/share/fonts/X11/misc FontPath/usr/share/fonts/X11/cyrillic FontPath/usr/share/fonts/X11/Type1 FontPath/usr/share/fonts/X11/CID FontPath/usr/lib/X11/fonts/CID FontPath/usr/share/fonts/X11/100dpi FontPath/usr/share/fonts/X11/100dpi/:unscaled FontPath/usr/share/fonts/X11/75dpi FontPath/usr/share/fonts/X11/75dpi/:unscaled FontPath/usr/lib/X11/fonts/misc ## FontPath/usr/lib/X11/fonts/cyrillic ## FontPath/usr/lib/X11/fonts/100dpi/:unscaled # FontPath/usr/lib/X11/fonts/75dpi/:unscaled # FontPath/usr/lib/X11/fonts/Type1 ## FontPath/usr/lib/X11/fonts/75dpi ## If I comment out all the old /usr/lib/X11 entries, then emacs doesn't find any fonts at all and outputs squares where letters ought to be. Also, I've reinstalled all the packages related to fontconfig and freetype--to no avail. Thanks. Nathan Lloyd ___ Freetype mailing list Freetype@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype
Re: [ft] FreeTypeRasterizeGlyph() ?
n l a écrit : Hi, I'm trying to figure out why, after debian etch's recent upgrade to xorg 7, emacs menu and buffer fonts look bad. I noticed that every time I start emacs, the following message gets appended a few times to Xorg.0.log: Warning: FreeTypeRasteriseGlyph() returns an error, so the backend tries to set a white space. This error message comes from Cairo, which version of this library are you using ? It might be worthwhile to recompile Cairo _after_ having installed a recent version of FreeType on your system. Also, which version of FreeType do you have installed ? Let us know if this helps, Regards, - David Turner - The FreeType Project (www.freetype.org) My question is, what's causing this? Is it an emacs, freetype, or xorg problem, or something else, and should I send a bug report to somewhere on debian's lists? I appreciate any help. Some background: I already know about the change in the locations of fonts and my font paths have been changed to FontPathunix/:7100 FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType FontPath/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID FontPath/usr/share/fonts/truetype FontPath/usr/local/share/fonts/truetype FontPath/usr/share/fonts/X11/misc FontPath/usr/share/fonts/X11/cyrillic FontPath/usr/share/fonts/X11/Type1 FontPath/usr/share/fonts/X11/CID FontPath/usr/lib/X11/fonts/CID FontPath/usr/share/fonts/X11/100dpi FontPath/usr/share/fonts/X11/100dpi/:unscaled FontPath/usr/share/fonts/X11/75dpi FontPath/usr/share/fonts/X11/75dpi/:unscaled FontPath/usr/lib/X11/fonts/misc ## FontPath/usr/lib/X11/fonts/cyrillic ## FontPath/usr/lib/X11/fonts/100dpi/:unscaled # FontPath/usr/lib/X11/fonts/75dpi/:unscaled # FontPath/usr/lib/X11/fonts/Type1 ## FontPath/usr/lib/X11/fonts/75dpi ## If I comment out all the old /usr/lib/X11 entries, then emacs doesn't find any fonts at all and outputs squares where letters ought to be. Also, I've reinstalled all the packages related to fontconfig and freetype--to no avail. Thanks. Nathan Lloyd ___ Freetype mailing list Freetype@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype ___ Freetype mailing list Freetype@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype
Re: [ft] What do kerning values mean in RTL text?
Paul Pedriana [EMAIL PROTECTED] asks today about right-to-left and left-to-right kerning: ... - Do kerning pairs in RTL refer to two sequential glyphs in logical order or visual order? - If there is a string with the logical order is CAT and a visual order of TAC, do kerning adjustment pairings apply for CA (logical order) or for AC (visual order)? ... The typographical origin of kerning is that when character shapes would leave a visibly-objectionable space between them (e.g., A V, A W, A Y, P J, ...), the (human) typesetter squeezed them together. This is reflected today in kerning tables in fonts, recorded in, e.g., Adobe Font Metric (.afm) files StartKernData StartKernPairs 113 KPX A y -92 KPX A w -92 KPX A v -74 KPX A space -55 KPX A quoteright -111 ... EndKernPairs EndKernData and TeX font metric (.tfm) files (LIGTABLE ... (LABEL C P) (KRN C A R -0.083334) (LABEL C y) (KRN C o R -0.027779) (KRN C e R -0.027779) (KRN C a R -0.027779) (KRN O 56 R -0.083334) (KRN O 54 R -0.083334) ...) The kern is implicitly dependent on writing direction, so an A q kern in left-to-right setting is completely unrelated to that for q A in right-to-left setting. Neither TeX fonts nor Adobe Type 1 fonts admit to the notion of a writing direction, but the Metafont book says that kerns are applied when a character follows another. This suggests that the only reasonable interpretation of kerns is that they are unidirectional and in logical order: a Hebrew or Arabic font intended for right-to-left typesetting could have kerns, but they would apply to the RTL logical order. The visual order for a reader of such texts is also RTL, while for people accustomed to the languages of western Europe and the Americas, it would be left-to-right. --- - Nelson H. F. BeebeTel: +1 801 581 5254 - - University of UtahFAX: +1 801 581 4148 - - Department of Mathematics, 110 LCBInternet e-mail: [EMAIL PROTECTED] - - 155 S 1400 E RM 233 [EMAIL PROTECTED] [EMAIL PROTECTED] - - Salt Lake City, UT 84112-0090, USAURL: http://www.math.utah.edu/~beebe/ - --- ___ Freetype mailing list Freetype@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype
Re: [ft] What do kerning values mean in RTL text?
Questions: - Do kerning pairs in RTL refer to two sequential glyphs in logical order or visual order? At least for TrueType and Type 1 fonts, it only refers to visual order. OpenType features in GSUB and GPOS tables are always processed in logical order. Werner ___ Freetype mailing list Freetype@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype
Re: [ft-devel] FreeType version 2.2.1 released
On Mon, 5 Jun 2006, David Turner wrote: Werner LEMBERG a �crit : Testing the patch, I'm getting another crash for a Type1 font: [...] Seems like ft_face-available_sizes is NULL. I don't have time to follow the thread -- is it necessary to do something on the FreeType side (either code or documentation)? Can you provide a patch in case we should fix something? no, it's ok, the patch I provided had just a little bug, but I think that this had been corrected. Correct. However, I cannot reproduce the warning message that Matthias and James are reporting. James, did you get more info yet? Do you guys need an updated patch with the fix, or had this been integrated in the CVS already ? I don't think this has been integrated. Regards, - David Turner - The FreeType Project (www.freetype.org) --behdad http://behdad.org/ Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill -- Dan Bern, New American Language ___ Freetype-devel mailing list Freetype-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype-devel