FontLab Forum
2010-09-02, 13:56:22 *
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: Function 77 for Cleartype  (Read 6901 times)
bayaryn
Newbie
*

Karma: +0/-0
Belarus Belarus

Posts: 2


View Profile Email
« on: 2009-09-05, 13:46:47 »

Hello,

I am hinting Devanagari font using VTT and have 1 problem with cleartype only deltas (function 77). As I understand it is enough to change the definition of function 84 to make function 77 work for cleartype as for greyscale. I tried to do this but my knowledge is not enought - the change of value to 8192 is not enough, other selectors also must be changed.

By defoult the definition of 84 is such -

FDEF[],84
#BEGIN
#PUSHOFF
#PUSH,2,0
WS[] /* s[2] = grey scaling: off (by default) */
#PUSH,35,1 /* 35 = MS Rasterizer version 1.7 */
GETINFO[] /* 1 = tell GETINFO to give us the rasterizer version */
LTEQ[] /* 35 <= version ? */
#PUSH,64,1 /* 64 = highest rasterizer version assigned to MS */
GETINFO[] /* 1 = tell GETINFO to give us the rasterizer version */
GTEQ[] /* 64 >= version ? */
AND[] /* 35 <= version && version <= 64 ? */
IF[] /* if so, we’re running MS rasterizer version 1.7 or higher */
#PUSH,4096,32 /* 4096 = flag returned by GETINFO if grey scaling bit is on */
GETINFO[] /* 32 = tell GETINFO to give us the grey scaling bit */
EQ[] /* 4096 == flag ? */
IF[] /* if so, we’re running under grey scaling */
#PUSH,2,1
WS[] /* s[2] = grey scaling: on (by now) */
EIF[]
EIF[]
#PUSHON
#END
ENDF[]

In glyph program function 77 is written in this way - CALL[], 33, 64, 11, 2, 77 but visually do not take any effect.

Maybe somebody can help me - what must be changed in this definition to make function 77 work for cleartype?
Logged
adilturbo
Newbie
*

Karma: +0/-0
Morocco Morocco

Posts: 2


View Profile
« Reply #1 on: 2009-12-30, 14:16:32 »

Hey there,

I have developed a new fonts, now i'm very blocked during the hinting process can you please send me tutorials,links or VTT...or if you do not mind i can send you the font for helping me doing hinting justification.

I do  really appreciate your help, here is my e-mail: z_tito(at)hotmail(dot)com.

many thanks
Logged
michelle
Guest
« Reply #2 on: 2010-02-05, 20:48:34 »

This page includes a link to a training video:
http://www.microsoft.com/typography/tools/vtt.aspx
Logged
Tags:
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!