FontLab Forum
2012-02-08, 21:18:04 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the FontLab forum, read how to use it! Update: Archives from old MSN forums are now available on our forum.
 
   Home   Help Search Calendar Downloads Tags Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: Set TT alignment zones in FontLab  (Read 3070 times)
Eigi
Beta: FontLab Studio Mac
Hero Member
***

Karma: +7/-0
Germany Germany

Posts: 55



WWW
« on: 2009-07-03, 12:09:35 »

Hello,

Is there any option to set the alignment zones for TrueType fonts with python?

I can read the values via the TTH object:

Code:
glyph = fl.font.glyphs[fl.iglyph]
tth = TTH(glyph)
tth.LoadProgram()
for zone in tth.top_zones:
    print zone.position, zone.width

...but the values are read only!

Is there any other way to access them??

Thanx

Eigi
Logged
Tags: truetype  Hinting 
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!