[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] Strange text rotation problem
From: |
Drew Folta |
Subject: |
Re: [Freetype] Strange text rotation problem |
Date: |
Mon, 27 Jan 2003 17:10:10 -0800 (PST) |
I've run into this as well, when using the library directly from C. It
gave me this behaviour when using FT_Set_Transform(), which appeared to
rotate the baseline once, and the individual glyphs twice. Try it with
other rotation angles, such as 30 degrees, and you'll see what I mean.
Drew Folta
Robert Meador said:
> I'm using PHP 4.2.3, GD lib 2.0+, Freetype enabled.
>
> On my local test server, using imagettftext(), text is properly rotated
> 90 degrees counterclockwise. On my remote server (PHP set up by the
> admin, not me), the line of text rotates 90 degrees, but then the
> individual characters rotate an ADDITIONAL 90 degrees so the letters are
> stacked upside down.
>
> So what should look like this (with your head tilted to the left):
>
> Some text
>
> Displays like this (when you're standing on your head):
>
> S
> o
> m
> e
>
> t
> e
> x
> t
>
> Anyone ever run across this one?
>
> - Bob Meador
>
>
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://www.freetype.org/mailman/listinfo/freetype