Giter VIP home page Giter VIP logo

smoothscan's People

Contributors

ncraun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

smoothscan's Issues

ImportError: No module named 'fontforge'

Split from arthurtiteica's original issue report:

With python3 the problem goes as

Traceback (most recent call last):
  File "/usr/bin/smoothscan-fontgen.py", line 23, in <module>
    import fontforge
ImportError: No module named 'fontforge'

I'm using
python 3.3.2-2
fontforge 20120731_b-6
libharu 2.2.1-4
potrace 1.11-1
leptonica 1.69-8

ImportError: 'psMat' is not a built-in module

After a good beginning (55 Input Files, 28 fonts) I get this error:
ImportError: 'psMat' is not a built-in module
Traceback (most recent call last):
File "/usr/bin/smoothscan-fontgeh.py", line 24, in import psMat

and also (maybe it is important)
libharu error: error_no=1017, detail_no=2
Error: PDF Generation problem.
System Error: No such file or directory

fontforge and libharu are installed.

Doesn't compile

I get this error:

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
./configure: line 2927: syntax error near unexpected token `libltdl'
./configure: line 2927: `LT_CONFIG_LTDL_DIR(libltdl)'

The libltdl version on my system (Debian 9) is 2.4.6-2. Do you have any idea how to fix this, @ncraun ?

/usr/lib/libgutils.so: undefined symbol: png_create_read_struct

Split from arthurtiteica's original issue report:

Am I right assuming that this needs python2 instead of python3? If so how to properly specify that at build time? Using python2 I get something like this:

$ smoothscan before.tif -o after.pdf
output: after.pdf
1 Input Files:
6 fonts
Using Fontforge version: 20120731
Scaling to x: 53 y: 53
Converting /tmp/smoothscan_cjeidy/00000000/*.png to /tmp/smoothscan_cjeidy/00000000.ttf
python2: symbol lookup error: /usr/lib/libgutils.so: undefined symbol: png_create_read_struct
.......
libharu error: error_no=1017, detail_no=2
Error: PDF Generation problem.
System Error: No such file or directory

I'm using
python 3.3.2-2
fontforge 20120731_b-6
libharu 2.2.1-4
potrace 1.11-1
leptonica 1.69-8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.