issue in vertical writing support in Uniscribe!! RRS feed

  • Question

  • There are cases when copying a glyph from charmap into WORD rotates it 90 degree or sometimes 180 degree in case of Vertical writing .Does this information about rotation come from Uniscribe and if yes,how to get this info??Examples of glyphs which are rotated 180 degree in vertical writing are U+2523,U+2517,etc and most other glyphs are rotated 90 degree(braces,brackets,etc).Please help me how does uniscribe help me to sort out the degree of rotation for a glyph in case of vertical writing.

    Wednesday, September 19, 2007 10:47 AM

All replies

  • Uniscribe does not provide handling fo vertical layout; that is done entirely by Word or GDI. (I know that GDI does East Asian vertical layout, but it may be in this case that Word is doing that on its own.)


    GDI will enumerate East Asian font families with variants that have "@" at the beginning of the name. For instance, "SimSun" and "@SimSun". The "@" variant invokes East Asian layout in GDI: if text is drawn with an "@" font selected in the device context, then GDI will do two things: (1) rotate certain characters, and (2) apply 'vert' feature substitutions from the font's GSUB table (if there are any). GDI has a list of characters that it applies rotation to.


    I can't repro what you describe wrt U+2523 of something being rotated 180 degrees. Can you provide more specific repro steps?




    Saturday, September 22, 2007 8:33 AM
  • You are right to say that such variants have "@" at the beginning of the font name.But my actual question relates to your statement-"...then GDI will do two things: (1) rotate certain characters, and (2) apply 'vert' feature substitutions from the font's GSUB table..."  which are those certain characters??I want to know how should we determine what degree of rotation to apply to a glyph i.e which are the characters which are rotated and to what degree??

    U+2523,i meant just copy this glyph from charmap and paste it into word with vertcial writing mode set.It's flipped completely.Symbols such as "{" are rotated 90 which seems ok.Certain characters are not rotated at all.So how does Word decide which of them should be rotated and to what extent when EMF files generated from such word files just contains the actual glyph without any rotation applied.

    Please please help!!

    Tuesday, September 25, 2007 7:46 AM
  • Not sure if it will help, but Michael Kaplan offers some great info on vertical writing and Uniscribe:



    -brenda (ISV Buddy Team)

    Monday, October 1, 2007 5:26 PM