Package Details: ttfautohint 1.7-1

Git Clone URL: https://aur.archlinux.org/ttfautohint.git (read-only)
Package Base: ttfautohint
Description: Provides automated hinting process for web fonts.
Upstream URL: http://www.freetype.org/ttfautohint/
Licenses: GPL, custom
Submitter: roentgen
Maintainer: supermario
Last Packager: supermario
Votes: 25
Popularity: 0.208501
First Submitted: 2013-01-06 15:15
Last Updated: 2017-08-29 12:33

Pinned Comments

supermario commented on 2016-03-07 22:54

Please make sure that you import the pgp key before trying to build this package:

gpg --keyserver pgp.mit.edu --recv-keys C1A60EACE707FDA5

Latest Comments

sam_d commented on 2017-09-19 09:58

Would it be possible to have a `ttfautohint-no-docs` package that disabled the documentation generation and dropped the requirement on `noto-fonts-alpha`?

supermario commented on 2017-09-05 12:09

@Batou, unfortunately the latest ttfautohint requires the noto alpha fonts

[mario@stig ttfautohint]$ sed -n '33092,33106p' src/ttfautohint-1.7/configure
# We use the Noto font family within the PDF documentation file, since it
# has the best Unicode coverage of all freely available fonts. However, due
# to some bugs in the currently released version and lacking support for
# some scripts, it is necessary to access fonts from the `noto-fonts-alpha'
# git repository, which can be found at
#
# https://github.com/googlei18n/noto-fonts-alpha/
#
# Interestingly, at least one font we need (`NotoSansGujarati-Regular.ttf')
# is not yet present in the `noto-fonts-alpha' repository, so we have to
# access the older
#
# https://github.com/googlei18n/noto-fonts/
#
# also.

Batou commented on 2017-08-29 16:14

What's with the noto-* depends? ttfautohint now requires 500MB+ of download. Ridiculous.

supermario commented on 2017-04-18 23:33

Oops! Looks like I forgot to actually put an example keyserver in the command. I've fixed the pinned comment. Thanks!

I've also updated the package to use qt5 instead of qt4. I haven't been able to test it very thoroughly, but it did build and run for me. Please let me know if you run into any new issues (and if it works by rolling back to qt4)

Marcel_K commented on 2017-04-17 11:28

No, that one is part of base-devel, which one should have installed when building packages from the AUR.

@supermario: --key-server option is invalid this way, you can leave it out or specify a key server.

Wulfsta commented on 2017-04-17 02:09

I believe pkg-config should be added as a dependency.

benoliver999 commented on 2017-04-10 08:34

@jab2870 - Try just

gpg --recv-keys C1A60EACE707FDA5

jab2870 commented on 2017-03-30 09:56

this command now says gpg: invalid option "--key-server"

supermario commented on 2016-03-07 22:54

Please make sure that you import the pgp key before trying to build this package:

gpg --keyserver pgp.mit.edu --recv-keys C1A60EACE707FDA5

roentgen commented on 2015-03-26 19:52

Disowning as I don't have time for it.

roentgen commented on 2015-02-16 07:28

Hi guys. I'm on it. Sorry for the delay.

rosshadden commented on 2015-02-15 17:58

I get a `FAILED (unknown public key ...)` error when installing this.

I know that's what @arielp is saying too. What I do not know is how to get around it.

arielp commented on 2015-01-30 19:48

How about adding a 'validpgpkeys' line in the PKGBUILD?

http://allanmcrae.com/2015/01/two-pgp-keyrings-for-package-management-in-arch-linux/

roentgen commented on 2013-04-03 18:47

supersym, thanks, I fixed it.

supersym commented on 2013-04-02 22:39

You should change the line with cmd 'qmake4' to 'qmake-qt4'

roentgen commented on 2013-02-27 20:08

I've made some changes in order to build with qt4 (currently in testing).

roentgen commented on 2013-02-08 18:57

I have to admit I didn't test building the docs with those optional deps.

Having a quick look at it now it seems quite a mess to deal with the haskell stuff or the non-haskell pandoc (which needs haskell stuff to build anyway).

Sorry.

Anonymous comment on 2013-02-07 18:06

I'm uncertain about what to do about the following phenomenon, as it's an issue related to an optional dependency.

If pandoc is installed (from the haskell repo), the build fails complaining to the lack of libertine.sty unless texlive-fontsextra is installed. If texlive-fontsextra is installed, the build fails with the following error:

make[2]: Entering directory `/home/csaba/pkg/packer/packerbuild-1000/ttfautohint/ttfautohint/src/ttfautohint-0.94/doc'
ghc -dynamic --make handle-images
[1 of 1] Compiling Main ( handle-images.hs, handle-images.o )
Linking handle-images ...
pandoc --to=json \
--smart \
ttfautohint.txt \
| ./handle-images ".svg" \
| pandoc --from=json \
--template=./template.html \
--variable="version:0.94" \
--toc \
--include-in-header=./ttfautohint.css \
--standalone \
--output=ttfautohint.html
pandoc --to=json \
--smart \
ttfautohint.txt \
| ./handle-images ".pdf" \
| TEXINPUTS=".;" \
pandoc --from=json \
--latex-engine=pdflatex \
--template=./template.tex \
--variable="version:0.94" \
--number-sections \
--toc \
--chapters \
--standalone \
--output=ttfautohint.pdf
pandoc: Error producing PDF from TeX source.
! LaTeX Error: File `libertine.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
! Emergency stop.
<read *>

l.10 ^^M

make[2]: *** [ttfautohint.pdf] Error 43
make[2]: Leaving directory `/home/csaba/pkg/packer/packerbuild-1000/ttfautohint/ttfautohint/src/ttfautohint-0.94/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/csaba/pkg/packer/packerbuild-1000/ttfautohint/ttfautohint/src/ttfautohint-0.9
4'
make: *** [all] Error 2

roentgen commented on 2013-01-07 18:04

Yes, thanks for pointing it out.

bohoomil commented on 2013-01-07 06:45

Qt should be added to makedepends since you need qmake to build the package.