[ft] how to compile ftdemos

2010-01-26 Thread samaram s
But still i am getting the following errors, r...@ubuntu:~/Downloads/ft2demos-2.3.9# make FT2DEMOS=1 -f ../freetype2/Makefile ../freetype2/Makefile:32: builds/toplevel.mk: No such file or directory make: *** No rule to make target `builds/toplevel.mk'. Stop. Then i gave, make FT2DEMOS=1 -f

[ft] kerning question

2010-01-26 Thread Dave Calkins
I'm rendering text to OpenGL via FreeTypeGL (which calls FreeType) on Windows 7. The font face is Arial Unicode MS (loaded from C:\Windows\Fonts\ARIALUNI.TTF) and is sized to 9pts at 96dpi. When comparing the rendering of this text using the Windows GDI APIs vs. the FreeType rendering I'm

[ft] ShowImage

2010-01-26 Thread samaram s
Hi, In ShowImage ,we are comparing image[i][j] 128 Can any one please explain me what is the logic behind that? if( image[i][j] 128) putchar('.'); else putchar('*'); Thanks Sam ___ Freetype mailing list Freetype@nongnu.org

Re: [ft] ShowImage

2010-01-26 Thread Werner LEMBERG
In ShowImage ,we are comparing image[i][j] 128 Can any one please explain me what is the logic behind that? if( image[i][j] 128) putchar('.'); else putchar('*'); I've already explained this to you: The bitmap buffer contains gray shades (values 0-255); for the TTY

[ft] anti-aliasing question

2010-01-26 Thread Dave Calkins
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 much. The FreeType text looks much smoother. I'm curious, are there

Re: [ft] kerning question

2010-01-26 Thread Werner LEMBERG
I'm rendering text to OpenGL via FreeTypeGL (which calls FreeType) on Windows 7. The font face is Arial Unicode MS (loaded from C:\Windows\Fonts\ARIALUNI.TTF) and is sized to 9pts at 96dpi. When comparing the rendering of this text using the Windows GDI APIs vs. the FreeType rendering

Re: [ft] kerning question

2010-01-26 Thread Dave Calkins
ok, thanks. Perhaps that's whats going on then. On 1/26/2010 11:17 AM, Werner LEMBERG wrote: I'm rendering text to OpenGL via FreeTypeGL (which calls FreeType) on Windows 7. The font face is Arial Unicode MS (loaded from C:\Windows\Fonts\ARIALUNI.TTF) and is sized to 9pts at 96dpi. When

Re: [ft] how to compile ftdemos

2010-01-26 Thread Werner LEMBERG
r...@ubuntu:~/Downloads/ft2demos-2.3.9# make FT2DEMOS=1 -f ../freetype2/Makefile ../freetype2/Makefile:32: builds/toplevel.mk: No such file or directory make: *** No rule to make target `builds/toplevel.mk'. Stop. Have you built the FreeType library in advance? And where have you built it?

Re: [ft] anti-aliasing question

2010-01-26 Thread Werner LEMBERG
I'm curious, are there parameters to fine-tune how much anti-aliasing is applied? I have no idea how this is controlled in OpenGL; you might try the `ftdiff' demo program to compare the various hinting and rendering modes of FreeType. Werner

Re: [ft] anti-aliasing question

2010-01-26 Thread Dave Calkins
ok, thanks. I'll check that out. On 1/26/2010 11:36 AM, Werner LEMBERG wrote: I'm curious, are there parameters to fine-tune how much anti-aliasing is applied? I have no idea how this is controlled in OpenGL; you might try the `ftdiff' demo program to compare the various hinting and

Re: [ft] ShowImage

2010-01-26 Thread samaram s
r...@ubuntu:~/Downloads# ./cglyph2bitmap ACME.ttf A Family name of the font is --- A.C.M.E. Explosive Style name of the font is --- Bold Text A Pixel Mode 2 ...**. ..***. .. **.**. ...**..**. ...**. ..***. ..***..**. .****. .****. .. When i was trying

Re: [ft] how to compile ftdemos

2010-01-26 Thread samaram s
r...@ubuntu:~/Downloads/ft2demos-2.3.9# make FT2DEMOS=1 -f ../freetype2/Makefile ../freetype2/Makefile:32: builds/toplevel.mk: No such file or directory make: *** No rule to make target `builds/toplevel.mk'. Stop. Have you built the FreeType library in advance? And where have you built

[ft] freetype on windows

2010-01-26 Thread samaram s
Hi, For every char* i use in freetype, my VS2005 expecting something to do like this, wcstombs((char*)filename,argv[1],200); Why is it so?Why to ocnvert it into wide char to multibyte? Thanks, Sam ___ Freetype mailing list Freetype@nongnu.org

Re: [ft] how to compile ftdemos

2010-01-26 Thread Werner LEMBERG
*My freetyep2 is in the same directory ,where ft2demos.2.3.9 is present.* Rename the directory from freetype-2.3.9 to freetype2 ./configure Make Make installI got the freetyep lib and so under /usr/local/lib. BTW, why are you using version 2.3.9? I did the following within an arbitrary