Re: [fontforge-users] Where is the changeWeight code?

Werner LEMBERG <[email protected]>
Newsgroups gmane.comp.fonts.fontforge.devel,gmane.comp.fonts.fontforge.user
Message-ID <[email protected]>
[Based on sources from 10:25 CET 30-Nov-2014-ML-TtfDb-D.
 Based on source from git with hash: c4cea471798c92848170c2f47311979805966093
 gcc 4.7.2
 32bit GNU/Linux]

> We made a lot of changes to the overlap removal functionality over
> the course of the last year, and I thought that we tested rather
> extensively.  Can you supply a sample file that causes problems?

Attached, since the cursed github bugtracker still doesn't allow
generic attachments.

Running the attached script with

  fontforge -script makelilyfont.pe feta20.pfb

I get

  Internal Error (overlap) in scripts.reverseturn:
    Fixup error 2 in MergeIntersections.
  Internal Error (overlap) in scripts.reverseturn:
    Could not find finalm
  Internal Error (overlap) in scripts.turn:
    Fixup error 2 in MergeIntersections.
  Internal Error (overlap) in scripts.turn:
    Could not find finalm

Note that I've configured FontForge with

  ./configure --enable-debug-raw-points \
              --enable-silent-rules \
              --enable-freetype-debugger=... \
              CFLAGS="-g -O0"


    Werner

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net

_______________________________________________
fontforge-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fontforge-devel
http://fontforge.10959.n7.nabble.com/Developer-f3.html
makelilyfont.pe (text/plain, 297 B)
# makelilyfont.pe

basename = Strsub ($1, 0, Strrstr ($1, "."));

Open ($1);

SelectAll ();

RemoveOverlap ();
AddExtrema ();
CorrectDirection ();
Simplify ();
RoundToInt ();
AutoHint ();

Generate (basename + ".pfa");
Generate (basename + ".pfb");
Generate (basename + ".svg");

Quit (0);

# eof
feta20.pfb (application/octet-stream, 120.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.