Re: [ft-devel] Some PDF embedded CFF fonts loading broken

2010-07-04 Thread Tor Andersson
Werner, The CFF fonts in question have been generated with FontForge. One of the fonts that exhibits these errors is: http://mupdf.com/repos/mupdf/fonts/NimbusSanL-Regu.cff If there is a flaw in the font file, I'd be more than happy to regenerate them with a different version of fontforge. On

Re: [ft] Font rasterization

2010-05-11 Thread Tor Andersson
Victor, On 5/11/10, Victor loonyphoe...@gmail.com wrote: Hello! I apologize in advance if this is not the place to ask this question, but freetype doesn't seem to have a forum anywhere, so... I have recently come across a great article about font rendering,

Re: [ft-devel] loading fonts with signature 'OTTO'

2010-03-05 Thread Tor Andersson
On Fri, Mar 5, 2010 at 2:40 PM, Graham Asher graham.as...@btinternet.com wrote: Does anyone know whether FreeType supports fonts with the signature (first 4 bytes) 'OTTO', and if so, which drivers are needed, and in which version was support added for this format? I have googled for some time,

Re: [ft] anti-aliasing question

2010-02-07 Thread Tor Andersson
Dave, On Sun, Feb 7, 2010 at 2:39 PM, Dave Calkins d...@kinematics.com wrote: I changed the flags as you suggested, rebuilt, and tested it again.  I've attached a screenshot.  I'm not sure how much of a difference it made though. That looks a lot more like it should. Compare the shape of the

Re: [ft] anti-aliasing question

2010-02-06 Thread Tor Andersson
On 2/5/10, Dave Calkins d...@kinematics.com wrote: On 2/5/2010 11:50 AM, Tor Andersson wrote: On Fri, Feb 5, 2010 at 2:19 PM, Dave Calkinsd...@kinematics.com wrote: I switched to using the default load flags (as opposed to the no hinting flag which was being passed by FreeTypeGL

Re: [ft] anti-aliasing question

2010-01-31 Thread Tor Andersson
On Sun, Jan 31, 2010 at 10:23 PM, Dave Calkins d...@kinematics.com wrote: I checked the FreeTypeGL source and it looks like its passing in the below values.    For FT_Load_Glyph, FT_LOAD_NO_HINTING | FT_LOAD_NO_BITMAP    For FT_Render_Glyph, FT_RENDER_MODE_NORMAL Experimenting with these

Re: [ft] anti-aliasing question

2010-01-31 Thread Tor Andersson
On Sun, Jan 31, 2010 at 11:58 PM, Dave Calkins d...@kinematics.com wrote: Still haven't found the answer to this.  However, if I'm correct in saying that FreeType is generating a grayscale rendering of the glyph using anti-aliasing, then is there some way to control how much anti-aliasing

Re: [ft] Applying Styles to text using a font

2010-01-28 Thread Tor Andersson
On Wed, Jan 27, 2010 at 1:16 PM, harshagomes harsha.sh...@gmail.com wrote: Hi, Can somebody please help me in applying styles to text using a ttf font ? Eg: consider the string 'sample', and am using 'verdana' font The verdana font exists in four variants -- regular, bold, italic and bold

Re: [ft] anti-aliasing question

2010-01-28 Thread Tor Andersson
On Tue, Jan 26, 2010 at 5:14 PM, Dave Calkins d...@kinematics.com wrote: When comparing FreeType text rendering (in OpenGL via FreeTypeGL) with Windows GDI text rendering, it appears that FreeType is applying more aggressive anti-aliasing effects. The GDI text is anti-aliased, just not as

Re: [ft] How to compile universal freetype on MacOS X 10.4?

2006-09-21 Thread Tor Andersson
I'm trying to build a universal (ppc and i386) libfreetype 2.1.12 (or any reasonably recent version) on my PPC Mac (10.4.7 with XCode 2.4). I can built something, but it's always PPC-only. I believe that you need to compile twice, once with each -arch flag, to separate files. Then you merge

Re: [ft] How to compile universal freetype on MacOS X 10.4?

2006-09-21 Thread Tor Andersson
On 9/22/06, Russell E Owen [EMAIL PROTECTED] wrote: At 12:01 AM +0200 2006-09-22, Tor Andersson wrote: I'm trying to build a universal (ppc and i386) libfreetype 2.1.12 (or any reasonably recent version) on my PPC Mac (10.4.7 with XCode 2.4). I can built something, but it's always PPC-only. I

Re: [ft] Tweaking/Improving FreeType Antialiasing

2006-08-27 Thread Tor Andersson
On 8/27/06, Roman Shaposhnik [EMAIL PROTECTED] wrote: On Sun, 2006-08-27 at 14:24 +0200, Tor Andersson wrote: It still won't be perfect, since all Linux toolkits snap metrics to pixel integer coordinates which gives somewhat uneven spacing. Don't even think about CoolType or ClearType

Re: [ft] Tweaking/Improving FreeType Antialiasing

2006-08-27 Thread Tor Andersson
On 8/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I'd be very happy with just a custom browser build - say something KHTML based maybe - that has great font rendering and kerning. It would make Linux so much nicer to use. OpenOffice, Gnome and a PDF viewer would be next up on my list for

Re: [ft] Tweaking/Improving FreeType Antialiasing

2006-08-27 Thread Tor Andersson
On 8/27/06, Keith Packard [EMAIL PROTECTED] wrote: On Sun, 2006-08-27 at 22:48 +0200, Tor Andersson wrote: On 8/27/06, Roman Shaposhnik [EMAIL PROTECTED] wrote: On Sun, 2006-08-27 at 14:24 +0200, Tor Andersson wrote: It still won't be perfect, since all Linux toolkits snap metrics

[ft] detecting font format from ft_face

2006-07-28 Thread Tor Andersson
Hi! I am updating my MuPDF PDF viewer to use freetype 2.2 and I have hit a snag. Because of the way PDF treats encodings, I need to know the format of a loaded font face. Previously I have used the following hack to switch on the driver used: enum { UNKNOWN, TYPE1, CFF, TRUETYPE, CID };