Re: [ft] Freetype2 - postscript font name

2005-05-04 Thread mpsuzuki
Hi I'm glad to hear that my comment is something usuful for you. On Tue, 3 May 2005 16:58:13 +0300 Mika Kuuskankare [EMAIL PROTECTED] wrote: Great, I got it working, however, it sometimes cannot determine the PS name even if the font is of type ttf... For example, the Font Book of OS X displays

Re: [ft] Private characters handling

2005-05-04 Thread HK
Hi, I mean *.tte files created by eudcedit tool in Windows. My goal is to support Gaiji in some form. As tte is a normal ttf file there should be no problem. If an user wants to use gaiji characters in my app, he should define his glyphs using eucedit and choose own codes in PUA for them. Then in

[ft] Mailing list problem?

2005-05-06 Thread Ross Crawford
I posted a question to the freetype list the other day, but forgot I had unsubscribed from the list. But when I went to the link http://lists.nongnu.org/mailman/listinfo/freetype to re-subscribe, I get connection refused. Is there a problem with the list server? Please email replies to [EMAIL

Re: [ft] Storing font info in my executable

2005-05-06 Thread mpsuzuki
Hi On Tue, 3 May 2005 09:42:27 +1000 Ross Crawford [EMAIL PROTECTED] wrote: The function FT_New_Memory_Face() allows me to associate a FT_Face with a font resource in memory, but I can't find any documentation that about what format the resource should be. The memory image for

[ft] FreeType as the Java Font Engine?

2005-05-08 Thread Andreas Schildbach
Hello everyone, I'd like to set FreeType2 as the Default Java Font Engine for JRE 1.4.2 under Solaris, Linux and/or Windows. Is this possible? If not, is there any other way of interfacing FreeType via Java? Can anyone tell how different the two font engines FreeType2 and the JRE internal will

Re: [ft] Storing font info in my executable

2005-05-09 Thread Ross Crawford
Thanks for the info. I created a Truetype font file, and wrote a small script to generate a .c file with a char array that contains the bytes read from the TTF file. It works perfectly, I'm just wondering, if I define multiple platforms in the TTF file, does Freetype automatically handle all

Re: [ft] Space versus no glyph

2005-05-09 Thread Ross Crawford
Ooops sorry to reply to myself - I found the answer, just add a dummy (empty) glyph at position #0, then FT_Get_Char_Index() returns 1 for space. ROSCO - Original Message - From: Ross Crawford [EMAIL PROTECTED] To: freetype@nongnu.org Sent: Tuesday, May 10, 2005 8:49 AM Subject: [ft]

Re: [ft] FreeType as the Java Font Engine?

2005-05-12 Thread mpsuzuki
Hi On Sun, 08 May 2005 22:42:49 +0200 Andreas Schildbach [EMAIL PROTECTED] wrote: I'd like to set FreeType2 as the Default Java Font Engine for JRE 1.4.2 under Solaris, Linux and/or Windows. Is this possible? I think it's almost impossible. The functions in dynamically linked ELF binary (which

[ft] First pretest of FreeType 2.1.10

2005-05-12 Thread Werner LEMBERG
Folks, I've uploaded a first pretest version of 2.1.10! This is mainly to test whether the library compiles on various platforms, and to check whether the library itself works correctly. There are still some rough edges with documentation files... You can download it from

[ft] Re: [ft-devel] First pretest of FreeType 2.1.10

2005-05-12 Thread mpsuzuki
Hi On Thu, 12 May 2005 09:22:02 +0200 (CEST) Werner LEMBERG [EMAIL PROTECTED] wrote: I've uploaded a first pretest version of 2.1.10! This is mainly to test whether the library compiles on various platforms, and to check whether the library itself works correctly. There are still some rough

Re: [ft] FT_Open_Face with negative face_index

2005-05-18 Thread Werner LEMBERG
The FreeType2 docs mention that, if the face_index parameter of FT_Open_Face is negative, '* face', which I'm assuming refers to the function's 'aface' parameter, Correct. This is a typo which I've just fixed in the CVS. will not be filled in. See:

Re: [ft] Pango-WARNING **: Cannot open font file

2005-05-24 Thread Werner LEMBERG
I built GTK+ 2.6.7 along with freetype 2.1.9 and Pango 1.8.1 on Debian Woody. But when I try to start gtk-demo, I get this error: (gtk-demo:26016): Pango-WARNING **: Cannot open font file for font Nimbus Sans L, 10 Segmentation fault It seems this has something to do with freetype, why

Re: [ft] Pango-WARNING **: Cannot open font file

2005-05-24 Thread Werner LEMBERG
Here the full output: (gtk-demo:9760): Pango-WARNING **: Cannot open font file for font Nimbus Sans L, 10 Program received signal SIGSEGV, Segmentation fault. 0x8c3bf706 in ?? () #0 0x8c3bf706 in ?? () #1 0x009d8d86 in _XftSetFace (f=0x9976a8, xsize=0, ysize=0, matrix=0x8115ad0)

Re: [ft] scalable font metrics, ascent/descent/height, metrics struct

2005-05-24 Thread Anson
Sorry to confuse you. Let me put it in another word. By far I have found 3 sets of ascent/descent/height metrics. We have ascender/descender/height from FT_Face. We have ascender/descender/height from FT_Size_Metrics. We also have sTypoAscender/sTypoDescender from TT_Face. How do they differ

Re: [ft] scalable font metrics, ascent/descent/height, metrics struct

2005-05-25 Thread Anson
Thanks for your response Werner. I thought you pointed me to the OpenType specification but I didn't know there is a page for recommendation. My fault. I have compiled a file documenting different metrics I have come across (see attached rtf.) As far as I can tell all metrics (except

Re: [ft] First pretest of FreeType 2.1.10

2005-05-29 Thread Adam D. Moss
Werner LEMBERG wrote: Unfortunately I am seeing various regressions in stroking (which in 2.1.9 wasn't perfect, but was better). I attach some pictures comparing 2.1.9 and 2.1.10. This is FT_STROKER_LINECAP_BUTT / FT_STROKER_LINEJOIN_ROUND and VeraMono.ttf. I can provide more detail if

[ft] Internal cache questions

2005-05-31 Thread Alex
Hi! I'm really new to FreeType and would like to receive some feedback from you experienced users :) I've read the FreeType docs regarding the internal cache system, but I'm not good enough to understand it and adapt it to my current source. Could you, please, take a look at my code at

Re: [ft] First pretest of FreeType 2.1.10

2005-06-01 Thread Werner LEMBERG
So the good news is that with the 2.1.9-style sigma, FT 2.1.10pre is much better than FT 2.1.9 for FT_Glyph_Stroke(), and no worse than FT 2.1.9 for FT_Glyph_StrokeBorder(). David wrote me that his sigma change tried to fix a peculiar case -- he no longer has the original data, unfortunately.

Re: [ft] System freeze when antialiasing is turned on

2005-06-04 Thread Haakon Riiser
David, given that the problem only arises when using anti-aliased text, I suspect that the FreeType code within the X Server is not the culprit. AA text rendering is handled very differently from the standard X11 text model. Basically, it works as follows: [...] All of this is handled by

RE: [ft] loading CID fonts and CMAPS

2005-06-07 Thread Ian Brown
Yes, AFPDS actually but the same principle. I have the code-point but I need to convert it to a CID before I can pass it to freetype. That requires the cmap table to be parsed. Do you know of any code that can read a cmap? Ian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

[ft] does freetype support Arabic?

2005-06-07 Thread
hello,guys! I tried to use freetype to display English, Thai, Chinese,etc.. It dose work wonderful.but when I try to display Arabic, there is a problem: the characters don't change with the different adjacent characters. How to solve this problem? thanks, Raynor

Re: [ft] loading CID fonts and CMAPS

2005-06-07 Thread mpsuzuki
Hi I have a CID font in memory that is immediately followed by a number of CMAPs. If I load the font using FT_New_Memory_Face then the CMAPs do not seem to be read. How can I load the CMAPs? Do I use the attach aux stream function or something like that? I suppose you're handling some

RE: [ft] does freetype support Arabic?

2005-06-07 Thread Turner, David
This is not trivial, and must be performed on top of FreeType. I'll ignore the problem of bidirectionnal text for the moment, since this adds another layer of complexity. There is an "easy" way which consists in using the Arabic presentation forms of Unicode (in the ranges U+FB50..U+FBFD

Re: [ft] east asian characters rendering incorrectly

2005-06-08 Thread Jan Slupski
On Tue, 7 Jun 2005, Aaron Brady wrote: Hello, I'm having a problem with some freetype east Asian characters rendering incorrectly. What happens is that as I scale the characters they look okay sometimes, and at other times pieces seem to fall out of them. I can provide more information, and

[ft] 2.1.10 ready

2005-06-09 Thread Werner LEMBERG
Folks, I've tagged 2.1.10 in the CVS, but I don't have quick internet access until Sunday evening for uploading, so there are no packages yet. Please stay patient! There is other good news: FreeType's new home is freetype.freedesktop.org and right now we are in the process of mapping

[ft] Announcing FreeType 2.1.10

2005-06-15 Thread Werner LEMBERG
FreeType 2.1.10 has been released. It is available from http://savannah.nongnu.org/download/freetype/ or http://sourceforge.net/project/showfiles.php?group_id=3157 The latter site also holds older versions of the FreeType library. See below for the relevant snippet from the CHANGES

Re: [ft] Rendering of Taiwan fonts

2005-07-03 Thread Werner LEMBERG
I am trying to use FreeType 2.1.10 to render Arabic, Taiwan fonts to bitmap. Unfortunatelly I do not know if it is possible to render text not per letter basis (render each letter separately that works fine) but as a whole (the result should be different than in the first case). Please, is

[ft] Does FT as a rasterizer support these font effects?

2005-07-07 Thread Anson
1. Pseudo Bold (a.k.a. Algorithmic Bold?) 2. Drop Shadow 3. Outline 4. Embossed 5. Engraved 6. Soft Edge This will be a very general question (my apologies.) ___ Freetype mailing list Freetype@nongnu.org

Re: [ft] Library versioning

2005-07-07 Thread Will Newton
On Thursday 07 July 2005 13:28, Turner, David wrote: I don't see anything that looks like the use of internal header files, or previous versions of the cache API. Maybe I'm missing something, but this code looks clean and doesn't need a patch at all. What exactly breaks there when installing

Re: [ft] full-color bitmap font format with transparency...

2005-07-16 Thread Keith Packard
On Sat, 2005-07-16 at 17:33 -0400, Jeremiah Coyle wrote: Hello, Wondering if FreeType supports any font format which supports 32bit color depth and transparency. SVG seems like a better plan to me. Glyph-based tools all assume that glyphs are purely shape information and have no intrinsic

Re: [ft] FT_New_Memory_Face

2005-07-16 Thread Werner LEMBERG
I have a question regarding FT_New_Memory_Face(). I have converted my arial.ttf file to an array of unsigned bytes, and I have compiled and linked this array into my application. I then pass a pointer to the array to FT_New_Memory_Face(), however it returns a non-zero status. [...] Please

Re: [ft] Bold and italic, cache manager

2005-07-19 Thread Chia I Wu
On Tue, Jul 19, 2005 at 09:43:18AM +, Tom Sparthate wrote: Hello, I wonder if freetype can draw bold and italic characters with a simply arial file. (by an transformation?) You can use FT_Outline_Embolden and FT_Outline_Transform. And I have a question concerning the cache manager,

[ft] ImageCache and SBitCache question

2005-07-22 Thread Memory, Richard
Hi, I'm using both the Image and Sbit caches and I have 2 questions. For reference purposes, I am using Freetype 2.1.10. Most likely I'm simply using the APIs incorrectly. 1) Using FTC_SBitCache_Lookup(), I haven't been able to find a way to control the render mode (In fact, I'm not sure I'm

[ft] FreeType Consortium?

2005-07-27 Thread paulc
Is there any sort of consortium, conference, or gathering of any kind for FreeType users or developers? Has there ever been? ___ Freetype mailing list Freetype@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype

Re: [ft] FT_Get_Postscript_Name leaks for TT fonts

2005-08-27 Thread Masatake YAMATO
Hi, Hello, Freetype2 function FT_Get_Postscript_Name leaks for TT fonts. Because tt_face_done in src\truetype\ttobjs.c does not delete postscript_name. Is this the place to submit bugs? Yes. Could you tell me more? Please, don't forget writing the version of FreeType2. In my short

Re: [ft] FT_Get_Postscript_Name leaks for TT fonts

2005-08-27 Thread Masatake YAMATO
Hi, Hello, Freetype2 function FT_Get_Postscript_Name leaks for TT fonts. Because tt_face_done in src\truetype\ttobjs.c does not delete postscript_name. Is this the place to submit bugs? Yes. Could you tell me more? Please, don't forget writing the version

Re: [ft] Assertion fails when calling FT_Open_Face, caused by custom stream

2005-08-29 Thread Werner LEMBERG
It seems that Freetype zeroes out all structures it allocates, and silently assumes that the user of the library zeroes out all structures after allocation as well. This would be OK if it is documented, but it isn't. Now it is. Thanks for pointing this out. So, is my assumption correct,

Re: [ft] FreeType2 configuration

2005-09-02 Thread Cyphre
I need to use only TrueType fonts. I have checked the document you described...so doest i mean I should only compile the base components + TrueType driver? Yes. Thanks, I'll give it a try. One more question: Do you know the approximate binary size of the library (for static

Re: [ft] FreeType2 configuration

2005-09-02 Thread Werner LEMBERG
One more question: Do you know the approximate binary size of the library (for static compilation/linking) for my case of usage? (I'd like to know this just for comparison of my result) I've no idea, sorry. Werner ___ Freetype mailing list

[ft] autohinter is still bad for monochrome rendering... :(

2005-09-09 Thread user user
[quote=David Turner][quote=Paul Tanganelli] I'm at my wits end here... I'm trying to render some simple monochrome characters to a single texture to use as the source for my interface character set. Take a look at the attached image to see what I'm shooting for. Everything is working great,

[ft] Monochrome Bitmap Trouble

2005-09-15 Thread Paresh Deshmukh
Hi, I am trying to generate a monochrome bitmap using Freetype version 2.1.7 for a string and trying to print it on a 300 dpi printer. I am able to get the proper bitmap only for certain characters, the other characters are giving me garbage or distorted bitmap. I tried this with different ttf

Re: [ft] Monochrome Bitmap Trouble

2005-09-15 Thread Look at previous message in this thread
Sorry for OT post, but I just found your email unnecessary offensive. I agree with you. I'm wrong. However, the original soruce code is really unreadable. Easier to read source code will get better comments. BTW, could you find hello, world output from my program? --- Loot at From:

RE: Re: [ft] Monochrome Bitmap Trouble

2005-09-16 Thread Turner, David
Hello, I cannot send you the real program. But this is based on the tutorial step-1. The addition is only that...image buffer is copied to print buffer. I have some small comments regarding your source code, though no real solution to provide. a/ never call free(NULL), since the

Re: [ft] Using a bitmap font with freetype2

2005-09-20 Thread Joe Krahn
Bitmap fonts only render monochrome (1-bit). Check bitmap.pixel_mode after the character is rendered. Joe Krahn ___ Freetype mailing list Freetype@nongnu.org http://lists.nongnu.org/mailman/listinfo/freetype

[ft] Bottom row of pixels getting clipped

2005-09-20 Thread Joe Krahn
When displaying the MS-Windows symbol.ttf font, the last row is getting clipped for most font sizes smaller than 32 pixels. This can be seen with ftsrting, which only shows the missing char box. That makes it easy to see the last row of pixels getting clipped. It seems like some sort of

[ft] bottom-row first pixel order?

2005-09-20 Thread Joe Krahn
I tried getting freetype to render rows bottom to top using a transform of yy=-1. This worked for some scalable fonts/sizes, but it often results in just a few rows of filled pixels. Is freetype supposed to be able to handle a negative transform? Is there another preferrable way to flip the

Re: [ft] Intalling a font

2005-09-20 Thread Werner LEMBERG
Here's the situation. I am working on a webpage for my mother that uses a unique font. She has a True Type font built for it. I have the file. I'm leasing a server that has Free Type 2 installed on it. I'm guessing it's been intialized but I'm not sure. I seem to be bulloxing up the

Re: [ft] bottom-row first pixel order?

2005-09-20 Thread Werner LEMBERG
I tried getting freetype to render rows bottom to top using a transform of yy=-1. This worked for some scalable fonts/sizes, but it often results in just a few rows of filled pixels. Is freetype supposed to be able to handle a negative transform? Is there another preferrable way to flip

Re: [ft] Bottom row of pixels getting clipped

2005-09-20 Thread Werner LEMBERG
When displaying the MS-Windows symbol.ttf font, the last row is getting clipped for most font sizes smaller than 32 pixels. This can be seen with ftsrting, which only shows the missing char box. Hmm, I'm not sure what you mean. How do you call ftstring? Can you send a small image which

Re: [ft] bottom-row first pixel order?

2005-09-21 Thread Joe Krahn
Here is some sample code and results illustrating problems with a mat.yy=-1 transform. Somtimes it works OK, but even then, the hinter seems to malfunction, even though the transform does not intersect whole pixels. Joe Krahn /** test.c **/ #include stdio.h #include string.h #include

RE: RE: Re: [ft] Monochrome Bitmap Trouble

2005-09-22 Thread Paresh Deshmukh
Hi, I change the code according to suggestions. I am using MSMINCHO.TTF file for font generation and getting all English alphabets bitmap. But how to transform character is still unclear. Also please tell me how can I get JAPANESE character from MSMINCHO.TTF. Thanks Hello, I cannot

Re: [ft] Outline tags

2005-09-23 Thread Werner LEMBERG
Sorry for the late reply. Into the documentation (glyphs/index2.html), on the Outlines curves decomposition, I read on FT_Curve_Tag_On: Used when the point is on the curve, but if I load a char, for example an I with an Arial font (I'm sure that there is 4 segments and 8 points on the

[ft] anti aliasing off and error with letter spacing

2005-09-29 Thread Pinter Tibor (tibyke)
hello there! i used to be able to achieve perfect m$ ttf experience with earlier versions of freetype and gd as shown in http://www.tibyke.net/ft/ft_12.gif, but with latest version of freetype (tweaking a little with ftoption.h = enabling bytecode interpreter and unpatented hinting) all i can

[ft] Installing pango in scratchbox

2005-10-04 Thread Raghavendra
Hi, Im trying to install pango 1.0.5 got installing gtk 2.0.9 in scratchbox,a cross-compilation toolkit. It first showed that freetype is missing i installed freetype 2.1.10 but the same error is shown I checked the config.log which shows this error configure:9257: checking for

Re: [ft] cache

2005-10-04 Thread Werner LEMBERG
Freetype has a big branch of cache functions, that described in part of manual, named Cache Sub-System. I doubt, if I don't say FTC_Manager_New, FTC_SBitCache_New etc., if I dont't work with freetype through FTC_Manager_LookupSize, FTC_SBitCache_Lookup etc., is nothing cashe using

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

Re: [ft] Oversized O

2005-10-08 Thread Rogier van Dalen
On 10/6/05, Turner, David [EMAIL PROTECTED] wrote: ... 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

Re: [ft] Simple CL Tool

2005-10-08 Thread Juliusz Chroboczek
Shug Boabby [EMAIL PROTECTED]: does anyone know of a commandline tool which would render a string into a pretty PNG file, No. On the other hand, I know of a commandline tool that will render a string into an ugly GIF file. http://www.pps.jussieu.fr/~jch/software/files/ttfgif.tar.gz

RE: [ft] Oversized O

2005-10-10 Thread Turner, David
Hello Hanno, I think I have an answer to your question: - first of all, the behaviour *only* happens when using the bytecode interpreter. this implies that: - you're not using the stock FreeType installation of your Ubuntu distribution :o) - what's you're seeing is the result of

Re: [ft] Oversized O

2005-10-10 Thread Werner LEMBERG
When using Microsoft's Core Fonts with TFT RGB subpixel-rendering, I often get oversized Os - their height is bigger than the other characters in the same line. Here are some examples: ... http://www.hanno.de/kram/big-o.png FWIW, I'm seeing oversized O's as well with Verdana

Re: [ft] Oversized O

2005-10-10 Thread Werner LEMBERG
- first of all, the behaviour *only* happens when using the bytecode interpreter. this implies that: [...] - what's you're seeing is the result of the instructions located within the font file, this problem is also very similar to many oddities exposed by TrueType hinted

[ft] How to determine font ascent

2005-10-11 Thread Andrew Zabolotny
Hello! In order to correctly display glyphs I need to know somehow the baseline and the top baseline (don't know the correct term, the term ascent seems used for many things that aren't what I mean) of the font. For example, if you don't understand what I mean, fontforge displays these two

Re: [ft] How to determine font ascent

2005-10-12 Thread Werner LEMBERG
In order to correctly display glyphs I need to know somehow the baseline and the top baseline (don't know the correct term, the term ascent seems used for many things that aren't what I mean) of the font. For example, if you don't understand what I mean, fontforge displays these two

Re: [ft] How to determine font ascent

2005-10-12 Thread Anson
I have been looking at this ascender/descender business for a while and had a similar problem. To the best of my knowledge FreeType does not provide the metrics you are after. Metrics from bbox definitively include all the glyphs in the font file (hence box drawing characters are always included.)

Re: [ft] How to determine font ascent

2005-10-12 Thread Werner LEMBERG
But the question is how we can accurately determine the baseline to baseline distance. In our environment we are not supporting computers but devices with small display. We would also like to allow users to load their own font files as well. Hence we can't afford silly space left in-between

Re: [ft] How to determine font ascent

2005-10-12 Thread Andrew Zabolotny
On Wed, 12 Oct 2005 08:59:19 +0200 (CEST) Werner LEMBERG [EMAIL PROTECTED] wrote: The concept of `vertically centering' is wrong IMHO. Instead, I suggest you arrange the menu items as if they were normal text, this is, you put the glyphs of a line onto its baseline, and the glyphs one line

Re: [ft] Vertical layout

2005-10-12 Thread Chia I Wu
On Wed, Oct 12, 2005 at 03:59:18PM -0700, Sergey Tolstov wrote: Hi, Hello, In what state is FT support for vertical glyph metrics? The problem you encountered has been fixed in CVS: http://savannah.gnu.org/cgi-bin/viewcvs/freetype/freetype2/src/truetype/ttgload.c.diff?r1=1.138r2=1.139 I am

RE: [ft] Vertical layout

2005-10-14 Thread Sergey Tolstov
Hello, The patch helped to fix the problem with vertical metrics. However, now it turns out that SimSun font has vertical advance smaller than bbox height for latin characters (check E, for example). As a result, upright English text in vertical layout, becomes too condensed. Adobe Illustrator

[ft] Seg fault on FT_Init_FreeType

2005-10-21 Thread Frans Grotepass
Hi all, I am using Freetype2.1.10 in an embedded system. Freetype is used in a .so lib. I have an actual program and a test program. The Test program loads the chosen font and spits out nice little ttf bitmaps. In the actual application the program seg faults. The embedded system is a ppc

[ft] How do I omit modules on compile?

2005-10-21 Thread Fujinaka, Todd
On freetype-2.1.10, using RHEL4u2, Im trying to limit the modules being included. According to docs/CUSTOMIZE, I can copy two header files (ftoption.h and ftmodule.h), edit ftmodule.h, and then change the include path. So my main question is, how are you supposed to modify the include

Re: [ft] Monochrome Bitmap Trouble

2005-10-24 Thread Werner LEMBERG
I am still puzzling with bitmap. Please tell me is it possible to get a fixed size characters or can we specify the fixed inter character space rather using kerning. I don't understand the question. If the font is a mono-spaced font, you'll get mono-spaced output. Note that many CJK

Re: RE: Re: [ft] Monochrome Bitmap Trouble

2005-10-24 Thread Chia-I Wu
Hi, On Mon, Oct 24, 2005 at 07:08:32AM +, Paresh Deshmukh wrote: Hello, I am still puzzling with bitmap. Please tell me is it possible to get a fixed size characters or can we specify the fixed inter character space rather using You can always use fixed inter-character space if you

[ft] Error when trying to use Freetype library

2005-10-24 Thread Fredrik Karlbom
Hello, I'm not sure that this is the proper place to ask but I do it anyway as I desparately need some help. I'm trying to compile and test Freetype on a embedded system, an ARM-processor running ThreadX but my problem is on the compile-stage. My dev-box is running a cygwin-based shell and

[ft] Error when trying to link Freetype library

2005-10-24 Thread Fredrik Karlbom
Hello, I'm not sure that this is the proper place to ask but I do it anyway as I desparately need some help. I'm trying to compile and test Freetype on a embedded system, an ARM-processor running ThreadX but my problem is on the compile-stage. My dev-box is running a cygwin-based shell and

[ft] Error when trying to link Freetype library

2005-10-24 Thread Fredrik Carlbom
Hello, I'm not sure that this is the proper place to ask but I do it anyway as I desparately need some help. I'm trying to compile and test Freetype on a embedded system, an ARM-processor running ThreadX but my problem is on the compile-stage. My dev-box is running a cygwin-based shell and after

[ft] Error when trying to use Freetype library

2005-10-24 Thread Fredrik Karlbom
Hello, I'm not sure that this is the proper place to ask but I do it anyway as I desparately need some help. I'm trying to compile and test Freetype on a embedded system, an ARM-processor running ThreadX but my problem is on the compile-stage. My dev-box is running a cygwin-based shell and

Re: [ft] Still no luck not including modules

2005-10-24 Thread Werner LEMBERG
The make program reads the `rules.mk' and `mudule.mk' files using wildcards. This means that you have to rename or remove all `.mk' files in the various subdirectories you don't want to compile. And it looks like the Jamfiles are the same way? Jamfiles are only used if you build

Re: [ft] Still no luck not including modules

2005-10-24 Thread Hisashi T Fujinaka
On Mon, 24 Oct 2005, Werner LEMBERG wrote: The make program reads the `rules.mk' and `mudule.mk' files using wildcards. This means that you have to rename or remove all `.mk' files in the various subdirectories you don't want to compile. And it looks like the Jamfiles are the same way?

Re: [ft] Still no luck not including modules

2005-10-24 Thread Werner LEMBERG
Jamfiles are only used if you build FreeType with Jam. `make' ignores them. I was aware of that. I was just wondering if there were differences in the level of support given to make vs. Jam. On Unix, for shared libraries with libtool, you need GNU make. Werner

Re: [ft] Error when trying to use Freetype library

2005-10-24 Thread mpsuzuki
Hi, Just I want to report that cross-compilation within Unix world works, at least. I've tried to cross-compilation of FreeType2 (latest version checked-out from CVS) on Linux/x86, for Linux/ARM. $ env CC=arm-cats-linuxelf-gcc \ ./configure --host=i386-pc-linux-gnu

Re: [ft] Error when trying to use Freetype library

2005-10-25 Thread Werner LEMBERG
Just I want to report that cross-compilation within Unix world works, at least. [...] Thanks a lot for testing! But it doesn't work well with current builds/unix/unix-cc.in. Before writing patch about this issue, I have to study about proper cross-compilation setting by autoconf. We are

[ft] ABI stability question.

2005-10-25 Thread Hisashi T Fujinaka
Have there been any changes in the abi that would cause programs to break if the were linked with older libraries? I guess the real question is, when was the last time this happened? I've been reading the ChangeLogs and I don't see anything jumping out at me. Thanks. -- Hisashi T Fujinaka -

RE: [ft] Error when trying to use Freetype library

2005-10-27 Thread Turner, David
Hello, -Message d'origine- Hello, I'm not sure that this is the proper place to ask but I do it anyway as I desparately need some help. I'm trying to compile and test Freetype on a embedded system, an ARM-processor running ThreadX but my problem is on the compile-stage. My dev-box

RE: [ft] ABI stability question.

2005-10-27 Thread Turner, David
Have there been any changes in the abi that would cause programs to break if the were linked with older libraries? I guess the real question is, when was the last time this happened? I've been reading the ChangeLogs and I don't see anything jumping out at me. Regarding the public API, I

Re: [ft] Error when trying to use Freetype library

2005-10-27 Thread Fredrik Carlbom
Hi again and thanks for helping! Hello, -Message d'origine- Hello, I'm not sure that this is the proper place to ask but I do it anyway as I desparately need some help. I'm trying to compile and test Freetype on a embedded system, an ARM-processor running ThreadX but my

[ft] php character map = filter unused characters?

2005-11-03 Thread D.L.D.
Hello new to this list And i have a question i have a webpage that shows some fonts using php http://www.phpenabled.com/ttf_fontlist/index.php when a font is clicked a page opens with the character map for that font with zoom layer popup

Re: [ft] php character map = filter unused characters?

2005-11-03 Thread mpsuzuki
Hi On Thu, 03 Nov 2005 13:29:47 +0100 D.L.D. [EMAIL PROTECTED] wrote: is it possible to filter out the rectangle and unused character? Yes, it's almost possible, although there's no perfect solution. The rectangle you see is fallbacking glyph. According to Microsoft TrueType specification (see

Re: [ft] How do I omit modules on compile?

2005-11-03 Thread Werner LEMBERG
On freetype-2.1.10, using RHEL4u2, I'm trying to limit the modules being included. According to docs/CUSTOMIZE, I can copy two header files (ftoption.h and ftmodule.h), edit ftmodule.h, and then change the include path. So my main question is, how are you supposed to modify the include

Re: [ft] Error when trying to use Freetype library

2005-11-04 Thread Fredrik Carlbom
Now I'm back with the compilation of freetype, I followed mpsuzuki's advise but my target needs big-endian coding... If someone has some hints for doing this I would apprechiate it very much. If not, will have to figure it out on monday. Thanks alot for all help! /Fredrik

Re: [ft] Error when trying to use Freetype library

2005-11-04 Thread mpsuzuki
On Sat, 5 Nov 2005 00:10:24 +0900 [EMAIL PROTECTED] wrote: On Fri, 4 Nov 2005 15:12:36 +0100 Fredrik Carlbom [EMAIL PROTECTED] wrote: Now I'm back with the compilation of freetype, I followed mpsuzuki's advise but my target needs big-endian coding... If someone has some hints for doing this I

Re: [ft] Error when trying to use Freetype library

2005-11-04 Thread Werner LEMBERG
I could build FreeType2 CVS that is checked out 2005/10/25 as previous post. But, cross building of revisions after 2005/10/28 might fail. apinames is not enabled for cross building (I think it's my next task after MacOS issue. Thanks in advance for taking care of this particular problem!

[ft] pfm file loading bug

2005-11-05 Thread Sergey Tolstov
Hello, There is a bug in FT 2.1.10 when it loads PFM file for type 1. In the function T1_Read_PFM, t1afm.c, it does not check for zero value in dfPairKernTable field of Extension table. Apparently, zero means no kerning table. It is zero in a number of fonts (e.g. Slogan Normal), but the function

[ft] Font Style

2005-11-06 Thread Paresh Deshmukh
Hi, I am trying to get a glyph with italic style but even after setting the style flag it won't change the glyph. I am going through old discussion of freetype list and find the freetype does not provide any facility to get Bold or Italic style. Is this still true or now freetype has some

  1   2   3   4   5   6   7   8   9   10   >