FontLab Forum
2012-05-22, 07:27:56 *
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: [Python]Moving glyphs Unicode address  (Read 1655 times)
nerolynx
Jr. Member
**

Karma: +0/-0
Posts: 1


Email
« on: 2008-09-24, 13:46:45 »

Hi, I've previously create a font set with some glyphs in the incorrect position to be typed correctly in Unicode. For example, my "A" capital glyph is at address 0040 instead of address 0041. The problem can be manually fix by moving it around by hand. But say I have about 20+ fonts with similar problems, so I wonder if any generous coder could write a sample code for Python and sum up the function of the code for me, so I could modify into dealing with similar characters have identical problem. I have some basic knowledge with coding, but how to modify glyphs Unicode address with Python macro in FontLab is beyond me, especially with the lack of documentations. Embarrassed

Please help!
« Last Edit: 2008-09-24, 13:59:51 by nerolynx » Logged
malcolm
Hero Member
*****

Karma: +0/-0
Posts: 29


Email
« Reply #1 on: 2008-09-29, 12:09:02 »

You shouldn't need a python script to encode your glyphs with the correct Unicode value.

Go to menu item Glyphs>GlyphNames>GenerateUnicode.

If your glyphs have standard naming you should get your glyphs encoded correctly. If you are using nonstandard naming you can create a new name mapping file in the Mapping folder of the FontLab program.

m
Logged
Tags:
Pages: [1]
  Print  
 
Jump to:  

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