|
|
Subject: Re: hinting lost on generating ttf - msg#00028
List: fonts.fontforge.user
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.
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
-------------------------------------------------------------------------
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
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Re: hinting lost on generating ttf
On Monday 28 August 2006 16:49, Con Kolivas wrote:
> On Monday 28 August 2006 15:50, Con Kolivas wrote:
> > On Monday 28 August 2006 14:03, George Williams wrote:
> > > On Sun, 2006-08-27 at 18:53, Con Kolivas wrote:
> > > > I have a problem that simply loading any ttf font with hinting and
> > > > then choosing "generate fonts->truetype" will always lose the
> > > > hinting, even if I make no modifications.
> > >
> > > I cannot duplicate this. In my test fonts hinting is retained.
> > > (hinting is not really the right there, though fontforge uses it, the
> > > truetype instructions are retained and appear to work).
> > >
> > > How do you determine that hinting has been lost?
> > >
> > > You will probably have to send me a copy of the font you are working
> > > on.
> >
> > The big Japanese fonts are the ones causing me trouble. Specifically the
> > hiragino open type fonts. The MS Mincho and MS Gothic retain a lot but
> > not all the hints it seems.
>
> 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.
The common feature from my experimenting seems to be a cubic spline and
generating a ttf file. Once a font is converted to cubic splines or starts
out with cubic splines, the hints seem to not be written when generating a
non quadratic spline ttf file.
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:
click to view message preview
Re: hinting lost on generating ttf
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?
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
Previous Message by Thread:
click to view message preview
Re: hinting lost on generating ttf
On Monday 28 August 2006 16:49, Con Kolivas wrote:
> On Monday 28 August 2006 15:50, Con Kolivas wrote:
> > On Monday 28 August 2006 14:03, George Williams wrote:
> > > On Sun, 2006-08-27 at 18:53, Con Kolivas wrote:
> > > > I have a problem that simply loading any ttf font with hinting and
> > > > then choosing "generate fonts->truetype" will always lose the
> > > > hinting, even if I make no modifications.
> > >
> > > I cannot duplicate this. In my test fonts hinting is retained.
> > > (hinting is not really the right there, though fontforge uses it, the
> > > truetype instructions are retained and appear to work).
> > >
> > > How do you determine that hinting has been lost?
> > >
> > > You will probably have to send me a copy of the font you are working
> > > on.
> >
> > The big Japanese fonts are the ones causing me trouble. Specifically the
> > hiragino open type fonts. The MS Mincho and MS Gothic retain a lot but
> > not all the hints it seems.
>
> 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.
The common feature from my experimenting seems to be a cubic spline and
generating a ttf file. Once a font is converted to cubic splines or starts
out with cubic splines, the hints seem to not be written when generating a
non quadratic spline ttf file.
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:
click to view message preview
Re: hinting lost on generating ttf
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?
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
|
|