[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Rotation of small size font
From: |
Werner LEMBERG |
Subject: |
Re: [ft] Rotation of small size font |
Date: |
Thu, 23 Mar 2006 07:43:49 +0100 (CET) |
> I am facing one problem with rotation. The size of char is 2 points
Urgh. You are joking, aren't you? There are virtually *no* fonts
which support a size of 2pt! Why do you need that? At which
resolution are you working? A 2pt size makes probably sense for,
say, 3000dpi and up, especially if you want to access CJK glyph
shapes.
> then FT_Glyph_Transform( Glyphs, &Matrix, 0) return non zero value
> and I am not getting rotated image. But this is working fine with 3
> points char size.
Please provide a complete small code example we can test.
> This is depend on ttf file or Freetype won't support rotation for
> very small character size?
As a rule of thumb, never use a font size below 5pt. If you need
something smaller -- and if you have a high DPI -- take a glyph at,
say, 10pt and scale it down afterwards.
Werner