Bug#655027: Please include hyphenation patterns

Joachim Breitner nomeata at debian.org
Sat Jan 7 23:19:38 UTC 2012


Hi,

Am Samstag, den 07.01.2012, 23:43 +0100 schrieb Joachim Breitner:
> I'd propse this course of action:
> 
>  * Manually fetch offo-hyphenation_v2.0.zip from
>    http://offo.sourceforge.net/hyphenation/index.html and put it in
>    debian/. One could use dpkg's multi-tarball feature, but the files
>    are not in tarball form anyways, and with dpkg 3.0, having binary
>    files in debian/ is fine.
>  * At build time, extract the zipfile and move (or link) the hyphenation
>    patterns to hyph. This will build the hyphenation jar file during the
>    fop build.
>  * Install the jar with fop and use it automatically and by default.

I have implemented this now, and here is the effect:

Before:

~/build/fop/fop-1.0.dfsg2/examples/fo/basic $ fop hyphen.fo  /tmp/test.pdf
Couldn't find hyphenation pattern en_US
Couldn't find hyphenation pattern de
Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400".
Couldn't find hyphenation pattern fi
Couldn't find hyphenation pattern it
Couldn't find hyphenation pattern da
Couldn't find hyphenation pattern no

Now:

~/build/fop/fop-1.0.dfsg2/examples/fo/basic $ fop hyphen.fo  /tmp/test2.pdf
Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400".
Couldn't find hyphenation pattern no

Files attached for comparison.

The necessary changes to the Debian directory, besides putting
offo-hyphenation_v2.0.zip from
http://en.sourceforge.jp/projects/sfnet_offo/downloads/offo-hyphenation/2.0/offo-hyphenation_v2.0.zip/ into debian/, are as in fop-hyphen.patch. It only lacks a few lines of explanation for debian/copyright. If you would apply this patch, I can add that too.

Greetings,
Joachim






-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fop-hyphen.patch
Type: text/x-patch
Size: 2529 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120108/61546182/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.pdf
Type: application/pdf
Size: 20124 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120108/61546182/attachment-0002.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test2.pdf
Type: application/pdf
Size: 20168 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120108/61546182/attachment-0003.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120108/61546182/attachment-0001.pgp>


More information about the pkg-java-maintainers mailing list