On Sat, Sep 30, 2006, zhaohs wrote:
> Dear Edward,
>    Now I use the fontfore to make a Type1 font bolder that it is, the script
> I used is as follows:
>    ******************
>    #!/usr/bin/fontforge -script
>
> if ($argc !=3)
>  Print("")
>  Print("Usage: ", $0, " infont outfont")
>  Print("")
>  Quit()
> else
>  Open($1)
> endif
>
> SelectAll()
>
> foreach
>  CorrectDirection()
>  ExpandStroke(10, 0, 0, 0, 1)

  You will mess it up in some CJK glyph, because you don't
  know which contour you need remove. It's not always to
  remove internal contour.

>  Simplify()
> endloop
>
> Generate($2)
>  ************
>   But I meet some error messages:
>    Internal Error:NaN value in spline creation
>    [...]

  This maybe a buggy font or the bug of FontForge.

>    and some warnings:
>    The stroke width is so big that the generated path may intersect itself in 
> uni81F0
>   [...]

  This is OK. But you will need to determine which contour
  you want to remove.

>     Why does this happen, do them harm to the ultimate results, and what 
> should
> I do?

  I will do it manual. Please refer,

  http://blog.bs2.to/post/EdwardLee/5375

  But maybe George has more precise answer.



        Edward

_______________________________________________
Cjk maillist  -  [email protected]
http://lists.ffii.org/mailman/listinfo/cjk

Reply via email to