Windows GDI Vertical Glyph Positioning for Chinese/Japanese text


I’m writing a Windows device driver for a graphics-type device that would be
able to render truetype fonts for vertical-style text (chinese, japanese,

Right now I am a bit puzzled regarding the x,y coordinate system the Windows
GDI is using when rendering vertical text.

On my device driver, the rendered vertical glyphs are slightly off-center.

Does anyone know the assumptions Windows GDI makes regarding x,y positioning
of glyphs for vertical characters?

Any links to references and documents will be appreciated.

Thanks in advance.


Send and receive Hotmail on your mobile device:

You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)