ncraun / smoothscan Goto Github PK
View Code? Open in Web Editor NEWsmoothscan is a tool to convert scanned text into a vectorized output form.
License: GNU General Public License v3.0
smoothscan is a tool to convert scanned text into a vectorized output form.
License: GNU General Public License v3.0
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
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.
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 ?
Hi,
I have several questions here, I'm not sure if I should split them into separate issues.
I'm trying to make a git package for Archlinux. You may see the whole building script at
https://aur.archlinux.org/packages/sm/smoothscan-git/PKGBUILD
The problems...
How to properly generate the configure script from configure.am?
Thanks.
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
Is this tool still supported? The latest update is from 2013
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.