FontLab Forum
2012-02-08, 20:38:27 *
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: monsized font  (Read 2100 times)
ArchivePoster
Guest
« on: 2005-03-31, 20:46:00 »

Posted by: Patrick
         
I was wondering...
I am creating a monosized font, and so for each glyph I link from the far left to the far right and from the bottom to the top. However, this means that at certain ppems, and some characters, like the T, the middle stem does not line up with the middle of the glyph. So in order to remedy this, I would like to resize the width (or the height) of every character's glyph by one pixel at each of the ppems where this occurrs. I was therefore wondering if anyone had any suggestions on the best way to do this, without having to manually list all of the ppems for which it needs to be done.
Thank you very much for your time,
Patrick
Logged
ArchivePoster
Guest
« Reply #1 on: 2005-04-01, 05:29:00 »

Posted by: fontguy
         
Just so we're on the same page, do you mean "monospaced" when you say "monosized", or is that some new terminology and meaning I'm not familiar with?

Unless you want to write your own function call(s) which attempt to do the necessary calculations automagically (and still sometimes fail, visually), you are almost certainly going to have to apply DELTAPs and/or DELTACs at each affected size.

Life's a b!tch at low rez . . .

Logged
ArchivePoster
Guest
« Reply #2 on: 2005-04-01, 06:59:00 »

Posted by: Patrick
         
Well, I have a formula to calculate the ppems at which the deltas need to be used, but I can't figure out how to implement it. Specifically so far I can't figure out how to push .0625 onto the stack.

if round(5*MPPEM[]*0.0625) + round(MPPEM[]*0.625) is not even then apply delta.
Thank you,
Patrick
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!