RE: [ft] FT_Face from memory

2005-10-06 Thread Turner, David
Hi! Whould anybody prompt to me about following situation. I have some font file loaded in memory, for example, unsigned char* buff; /*loaded file*/ size_t buffSz; /*its size*/ FT_Face face; .. /*then create FT_Face*/ FT_New_Memory_Face(Lib,

RE: [ft] Installing pango in scratchbox

2005-10-06 Thread Turner, David
Hello, old versions of Pango relied on internal functions of old versions of FreeType that changed or disappeared. This source code will not work or compile with FreeType 2.1.10, you must either downgrade to a previous version of FreeType, or upgrade your version of Pango. Hope this

[ft] WG: Character Width Problem

2005-10-06 Thread Martin Schöllerl
Dear sirs, we changed our windows-font-handling to freetype (version 2.1.4) to be platform-independent. Our product runs on Windows-System as well as on Unix-Derivates. Our problem is, that the character widths returned by Freetype differs immensely to those delivered by

RE: [ft] WG: Character Width Problem

2005-10-06 Thread Turner, David
Dear Sir, in order to be able to answer your question with insightful answers, may I ask you the following: - have you enabled the TrueType bytecode interpreter in your build of FreeType ? - could you provide us with a simple test program that shows the differences between FreeType

Re: [ft] Oversized O

2005-10-06 Thread Hanno Mueller
Anton Zemlyanov schrieb: You should probably know that TT fonts have special fitting or hinting process that uses byte interpreter to improve the quality of small fonts. Unfortunately this works good for monochrome fonts only (MS seems to never use anti-aliasing for small font sizes). I found

Re: [ft] Oversized O

2005-10-06 Thread Hanno Mueller
Hi, Turner, David schrieb: from your description, it looks like a problem with the FreeType library installed on your system. Could you tell us which version of Ubuntu you're using, and the name of the FreeType libraries in the /usr/lib directory, i.e. what is the output of ls

[ft] Simple CL Tool

2005-10-06 Thread Shug Boabby
hi everyone, does anyone know of a commandline tool (or simple function call in any popular language) which would render a string into a pretty (cropped, transparent background) PNG file, using a specified anti-aliased font and size? usage such as texttopng --font Times --size 16 Hello World!

Re: [ft] Simple CL Tool

2005-10-06 Thread Werner LEMBERG
Why not using the `ftstring' demo program, then capturing the image? Probably becuase it's way easier to just load a PNG file (or a BMP or a TIF or whatever) into an image viewer than it is to monkey around with a capturing images, etc. Well, it should be rather straightforward to add PNM