FontLab Forum
2012-05-21, 02:36:12 *
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: Everlasting Guidlines  (Read 1656 times)
malcolm
Hero Member
*****

Karma: +0/-0
Posts: 29


Email
« on: 2009-07-07, 10:49:20 »

I have a vfb file (passed to me by someone else) that has a perpetual vertical global guidline on the left sidebearing reference line (x0 position). I would like to remove this line but it has some very strange behavoir.

The line will not delete using the remove guidlines command.
I can keep pulling new guidlines from this location, as if there is an infinite number of guidlines on top of each other.
If I pull a new guidline from this location I can delete it, but I cannot delete the original line on the x0 position.

This is not a show-stopper but it is annoying.
Does anyone have a solution to this?

thanks
Logged
Alex Petrov (FontLab)
Tech Support, Fontlab Ltd.
Global Moderator
Hero Member
*****

Karma: +6/-0
Russian Federation Russian Federation

Posts: 464



WWW
« Reply #1 on: 2009-07-08, 07:39:07 »

There was the bug conserning guidelines in some version proceeding 5.0.4. It is very possible that this vfb was saved with that version and the guideline cannot be removed the usual way. You may try Python to perform the task. Open the "Edit Macro" panel and write this:

vguides = fl.font.vguides
vguides.clean()
hguides = fl.font.hguides
hguides.clean()
fl.UpdateFont()

then run the macro.
Logged
malcolm
Hero Member
*****

Karma: +0/-0
Posts: 29


Email
« Reply #2 on: 2009-07-08, 12:18:06 »

Thanks Alex - that solved the problem. The VFB was quite old so it would have been created in an earlier version.
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!