|
osdir.com mailing list archive F.A.Q. -since 2001! |
|
|
|
Subject: Re: hinting lost on generating ttf - msg#00030List: fonts.fontforge.user
by Date: Prev Next Date Index by Thread: Prev Next Thread Index
On Tuesday 29 August 2006 07:15, Con Kolivas wrote:
> On Tuesday 29 August 2006 00:50, George Williams wrote: > > On Sun, 2006-08-27 at 23:49, Con Kolivas wrote: > > > My mistake. It's only when opening an otf and then generating a ttf > > > without changing it that all the hints are lost. To that end, even > > > bitstream vera as an otf will lose all its hints on generating a ttf > > > font from it. I can tell that by simply loading the newly generated > > > ttf, as every entry is highlighted as needing hints. I've attached a > > > bzip2 compressed vera.otf (30kb) which has all its hints still intact > > > to make testing easy. > > > > Oh, yes, of course that happens. > > TrueType uses one mechanism for hinting a font, PostScript (otf) > > another. The hinting formats are so different that they can't be > > converted. > > Oh bummer. What about hinting in opentype format truetype? Is that > different from plain otf? > > > FontForge's ability to generate truetype instructions is pretty bad, so > > it won't do this automagically on conversion. > > > > If you want to use FF's auto-instruction capability: > > Start out with a PostScript font > > Element->Font Info->General->Quadratic > > [OK] > > Select All > > Hints->AutoInstr > > > > Going the other direction > > Start out with a quadratic font > > Element->Font Info->General->Quadratic (uncheck) > > [OK] > > Select All > > Hints->AutoHint > > Hmm I tried endlessly and still I can't seem to generate a ttf font of any > sort in Cubic with any hinting saved. Is that expected? Oh and big quadratic fonts (as all Japanese ones are) with lots of hinting like MS Mincho lose a lot of their hints when saved again. It seems like there is some upper limit to the number of hints in fontforge which is broken by these fonts that already have a lot more hints in them? Thanks again! Con ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Thread at a glance:
Previous Message by Date:Re: hinting lost on generating ttfOn Tuesday 29 August 2006 00:50, George Williams wrote: > On Sun, 2006-08-27 at 23:49, Con Kolivas wrote: > > My mistake. It's only when opening an otf and then generating a ttf > > without changing it that all the hints are lost. To that end, even > > bitstream vera as an otf will lose all its hints on generating a ttf font > > from it. I can tell that by simply loading the newly generated ttf, as > > every entry is highlighted as needing hints. I've attached a bzip2 > > compressed vera.otf (30kb) which has all its hints still intact to make > > testing easy. > > Oh, yes, of course that happens. > TrueType uses one mechanism for hinting a font, PostScript (otf) > another. The hinting formats are so different that they can't be > converted. Oh bummer. What about hinting in opentype format truetype? Is that different from plain otf? > > FontForge's ability to generate truetype instructions is pretty bad, so > it won't do this automagically on conversion. > > If you want to use FF's auto-instruction capability: > Start out with a PostScript font > Element->Font Info->General->Quadratic > [OK] > Select All > Hints->AutoInstr > > Going the other direction > Start out with a quadratic font > Element->Font Info->General->Quadratic (uncheck) > [OK] > Select All > Hints->AutoHint Hmm I tried endlessly and still I can't seem to generate a ttf font of any sort in Cubic with any hinting saved. Is that expected? Thanks! Con ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 Next Message by Date:Re: hinting lost on generating ttfQuoting Con Kolivas <con@xxxxxxxxxxx>: > Oh bummer. What about hinting in opentype format truetype? Is that different > from plain otf? The hinting style is determined by whether the splines are expressed in TrueType or PostScript. Extranious tables (like whether we use 'GPOS' or 'kern') are irrelevant. So if you have quadratic splines you need truetype instructions. If you have cubic splines you need PostScript hints. > Hmm I tried endlessly and still I can't seem to generate a ttf font of any > sort in Cubic with any hinting saved. Is that expected? It doesn't make sense. If you have cubic splines they have to be converted to quadratic splines to be saved as truetype. Any hints relevant to cubic splines become irrelevant in the process. If you want to fontforge to hint truetype do what I said: Convert to quadratic with Font Info Select All Auto Instr It won't work very well though. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 Previous Message by Thread:Re: hinting lost on generating ttfOn Tuesday 29 August 2006 00:50, George Williams wrote: > On Sun, 2006-08-27 at 23:49, Con Kolivas wrote: > > My mistake. It's only when opening an otf and then generating a ttf > > without changing it that all the hints are lost. To that end, even > > bitstream vera as an otf will lose all its hints on generating a ttf font > > from it. I can tell that by simply loading the newly generated ttf, as > > every entry is highlighted as needing hints. I've attached a bzip2 > > compressed vera.otf (30kb) which has all its hints still intact to make > > testing easy. > > Oh, yes, of course that happens. > TrueType uses one mechanism for hinting a font, PostScript (otf) > another. The hinting formats are so different that they can't be > converted. Oh bummer. What about hinting in opentype format truetype? Is that different from plain otf? > > FontForge's ability to generate truetype instructions is pretty bad, so > it won't do this automagically on conversion. > > If you want to use FF's auto-instruction capability: > Start out with a PostScript font > Element->Font Info->General->Quadratic > [OK] > Select All > Hints->AutoInstr > > Going the other direction > Start out with a quadratic font > Element->Font Info->General->Quadratic (uncheck) > [OK] > Select All > Hints->AutoHint Hmm I tried endlessly and still I can't seem to generate a ttf font of any sort in Cubic with any hinting saved. Is that expected? Thanks! Con ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 Next Message by Thread:Re: hinting lost on generating ttfQuoting Con Kolivas <con@xxxxxxxxxxx>: > Oh and big quadratic fonts (as all Japanese ones are) with lots of hinting > like MS Mincho lose a lot of their hints when saved again. I cannot duplicate this. Hints and instructions are retained when saving large Japanese fonts. > It seems like > there is some upper limit to the number of hints in fontforge which is broken > by these fonts that already have a lot more hints in them? There is none. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
blog comments powered by Disqus
|
|