FontLab Forum
2012-02-09, 04:04:25 *
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: Glyph ordering: FontLab > VOLT  (Read 4145 times)
Jimibooks
Beta: FontLab Studio Mac
Sr. Member
***

Karma: +0/-0
Posts: 6

FontLab 5.0.4; Mac OS X.4.11


« on: 2009-03-03, 16:33:17 »

I've been using FontLab for some time; but am fairly new to VOLT. I'm working on a font set that was largely developed under FontLab and I'm now adding OpenType features to it in VOLT. After a fair amount of work in VOLT, I found that I needed to add some glyphs to the font, so (1) saved the OpenType information out to a "VOLT project" file and the glyph data to a glyph data file; (2) added the needed glyphs to the font in FontLab; (3) reimported the font into VOLT, imported the project information from the saved font -- BUT, find that the glyph naming is now out of whack. Right at the "beginning" of the font in the "glyph editor" window in VOLT, the first glyphs are misnamed, "off by 2," as it were.

What's the way around this? And can anyone tell what I'm doing wrong?

Or: do I have to laboriously go back through the font and rename all glyphs correctly in VOLT? Tedious....

Jim Eisenbraun
Logged
Sergey Malkin (Microsoft)
Moderator
Hero Member
*****

Karma: +0/-0
Posts: 24


« Reply #1 on: 2009-03-04, 01:44:15 »

VOLT stores glyph names inside project sources. If your new font has correct glyph names assigned by FontLab, you can try to re-import names from 'post' table using "Import->Import PostScript Names" menu.

Thanks,
Sergey
Logged
tiro_hudson
Beta: FontLab Studio Win
Hero Member
***

Karma: +8/-0
Canada Canada

Posts: 85


WWW Email
« Reply #2 on: 2009-03-04, 08:17:36 »

If you change the glyph order in a font, you need to reconcile the new glyph order with your VOLT project. As Sergey notes, glyph data is independently stored by Glyph ID as part of the VOLT project. So you need to replace that glyph data if the order changes. The safest way to do this is to open the font with the changed glyph order and, instead of importing the existing project, import postscript glyph names. Export this as a .vtd glyph data file. Now open both this .vtd and the .vtp project file from your previous version in a text editor, and carefully replace the glyph data at the beginning of the .vtp with the new glyph data from the .vtd (being careful to omit the END terminator from the .vtd). Resave the .vtp (under a new name, to be safe), and import this into your new font.

As Sergey says, you can also try importing the postscript names from the new font directly into the open project, but I'm wary about doing this because glyph name changes will cascade through the lookups.
Logged
Jimibooks
Beta: FontLab Studio Mac
Sr. Member
***

Karma: +0/-0
Posts: 6

FontLab 5.0.4; Mac OS X.4.11


« Reply #3 on: 2009-03-04, 21:00:25 »

Many thanks to both of you; for some reason, when adding the single character that was lacking to the file in FontLab, I managed to reorder the glyphs in two locations significantly. As a result, it was easier to go to a backup version and redo some work--less time-consuming and leaving a more organized font for further work. Again, many thanks for the helpful reply--since I now know more of the organization of the tables inside VOLT, etc.

Jim
Logged
arifkarim
Sr. Member
****

Karma: +0/-0
Posts: 5


Email
« Reply #4 on: 2009-06-07, 22:10:06 »

use font creator... no need for import/export... Smiley
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!