FontLab Forum
2012-02-09, 03:46:45 *
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: Error with non post-IUP exceptions  (Read 2032 times)
ArchivePoster
Guest
« on: 2004-01-04, 08:02:00 »

Posted by: Yannis
         
The terms "inline", "pre-IUP", "post-IUP" are not explained in the documentation, but I guess "inline" means "somewhere in the glyph program, far before IUP instructions", "pre-IUP" means "just before the two IUP instructions", and "post-IUP" means "just after the two IUP instructions", please correct me if I'm wrong.

But when I want to apply an exception other than "post-IUP" I always get the error message "Can only have a post-IUP XDelta on this point". Can you tell me what I am doing wrong? What are the rules for using such or such kind of exception?

Thanks in advance

Yannis
Logged
ArchivePoster
Guest
« Reply #1 on: 2004-01-06, 23:57:00 »

Posted by: Si
         
From Beat...
 
Re: inline, pre-IUP, and post-IUP deltas: Yes, pre-IUP and post-IUP deltas are immediately before and after the IUP instructions, respectively. Inline deltas are deltas that are "in line" with the links (or interpolates) in the sense that there is a link (or interpolate) to a point P, which is then "delta-ed," and finally there are more links from that same point. This effectively applies a delta to P and all points subsequently linked to from P. For instance, if we wanted to xdelta the (vertical) stem in a "Croatian d" (Unicode 0x0111), we'd have an entire "tree" of links, but we can get away with a single inline delta to move the entire stem. This means that for a delta to be applicable as inline delta, the point it is applied to must have been "touched" (linked to, or interpolated, etc.). If it hasn't been touched, then an inline delta doesn't make sense, and hence it's not allowed.
    Sometimes we may want to apply a delta to a point P which has been touched, but without the knock-on effect of delta-ing all other points linked to from P. This may make it simpler to cleanup a bad pixel pattern on a round stroke. Again, such a delta is applied to a "touched" point P, but after all the other links and interpolates starting from P. Effectively, this means that the delta is applied pretty much right before the IUP (hence the name pre-IUP delta). So, again, if the point hasn't been touched, then a pre-IUP delta doesn't make sense. Moreover, merely applying a delta to a point doesn't "touch" it (which I've found out the hard way), hence a subsequent IUP would still interpolate it like other untouched points, but with results that are "difficult to explain." Therefore, a pre-IUP delta is not allowed unless it is applied to a touched point.
 
Hope this makes any sense at all.
 
Cheers & Happy New Year
 
Beat

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!