chiark / gitweb /
Ian Jackson [Mon, 2 May 2016 10:57:43 +0000 (11:57 +0100)]
Normalise bdfs before all rule generation and on-system processing
Ian Jackson [Mon, 2 May 2016 10:57:07 +0000 (11:57 +0100)]
bdfnorm: Capitalise the bdfs, as the rule generator expects
Ian Jackson [Mon, 2 May 2016 10:56:20 +0000 (11:56 +0100)]
bdfnorm: Install executable (!)
Ian Jackson [Sun, 1 May 2016 11:37:03 +0000 (12:37 +0100)]
update-xfonts-traditional: Generalise SIGPIPE handling in process_filter
If we didn't want to process this font, tolerate SIGPIPE for all
elements of the pipeline before "self", rather than special-casing
pcf2bdf.
(We end up setting {SigOK}{13} again for gunzip, which is fine.)
Now process_filter has no knowledge of particular pipeline stages.
Ian Jackson [Sun, 1 May 2016 11:35:37 +0000 (12:35 +0100)]
update-xfonts-traditional: Factor out process_filter
We are going to want to reuse this so that we can put bdfnorm in front
of every processbdf.
No functional change.
Ian Jackson [Sun, 1 May 2016 11:26:23 +0000 (12:26 +0100)]
update-xfonts-traditional: Rename log file handle variables to $logfh
In some places $logfile was used - but that's also a global for the
leafname of the logfile. In some places $log was used, which is
somewhat ambiguous.
No functional change.
Ian Jackson [Sun, 1 May 2016 10:59:57 +0000 (11:59 +0100)]
update-xfonts-traditional: Break out filter_st_isok (no functional change)
Ian Jackson [Sun, 1 May 2016 11:15:47 +0000 (12:15 +0100)]
10x20: Fixes to punctuation positioning
Ian Jackson [Sat, 30 Apr 2016 14:34:45 +0000 (15:34 +0100)]
Install bdfnorm in our /usr/share directory
Ian Jackson [Sat, 30 Apr 2016 14:31:55 +0000 (15:31 +0100)]
bdfnorm: Improve performance, a bit
Ian Jackson [Sat, 30 Apr 2016 11:49:31 +0000 (12:49 +0100)]
debian/copyright: Fix copyright date
Ian Jackson [Sat, 30 Apr 2016 11:23:09 +0000 (12:23 +0100)]
10x20: Process more fully.
Provide a hand-edited good/10x20.sfd, generated using fontforge from
bad/6x13.sfd, which adjusts more than just ` '.
Specifically: provide a single new hand-drawn shape for the comma and
both single quotes; increase the weight of the full stop; adjust the
colon and semicolon to match.
Justifications for the changes:
- Our primary goal is matched quotes, so at least the single quote
(which in post-2000 10x20 is vertical) needs changing.
- The quote glyphs in the pre-2000 10x20 are rather poor, when used
in a matched pair. They are rather more slanted and rather less
tall than seems usual for quotes. Using these for quotes results
in an (IMO) odd appearance for quoted strings.
- 10x20 is very like 6x13 in overall style but pre-2000 6x13 quotes
have a rather different (and IMO better) look.
- The comma should have the same shape as the quotes, like in 6x13.
But in pre-2000 10x20, the comma and the single quotes have
different shapes.
- The pre-2000 comma is very similar to the full stop. This makes
them hard to distinguish at high DPI.
- The colon and semicolon should contain exactly a full stop and a
comma; but the pre-2000 colon and semicolon's lower marks are
raised compared to the corresponding standalone mark. Again, this
is not much like 6x13.
- The weight of the pre-2000 10x20 full stop and colon are anomalous:
in general the weight of 10x20 is similar to that of 6x13 scaled up
(eg, the 10x20 A has 54 pixels out of 200, 27%, compared to the
6x13 A which has 20 pixels out of 78, 26%). The 6x13 stop is 5
pixels (6.4%) but the pre-2000 10x20 stop is 6 pixels (3.0%). We
compromise by increasing it to 9 pixels (4.5%).
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Sat, 30 Apr 2016 11:09:27 +0000 (12:09 +0100)]
Improve quotes in Misc Fixed 10x20 - WIP
Ian Jackson [Mon, 25 Apr 2016 01:23:15 +0000 (02:23 +0100)]
debian/changelog: Tidy up a bit
Ian Jackson [Mon, 25 Apr 2016 01:23:00 +0000 (02:23 +0100)]
Add fontforge to build-depends
Ian Jackson [Mon, 25 Apr 2016 01:15:22 +0000 (02:15 +0100)]
Process Neep 10x20 too
Ian Jackson [Mon, 25 Apr 2016 01:13:46 +0000 (02:13 +0100)]
Version of Neep 10x20 with fixed apostrophe
Ian Jackson [Mon, 25 Apr 2016 01:12:52 +0000 (02:12 +0100)]
Add bdf normaliser (to cope with fontforge output directly, since bdftopcf | pcf2bdf sometimes fails).
Ian Jackson [Mon, 25 Apr 2016 01:11:47 +0000 (02:11 +0100)]
Neep 10x20: Introduce bad font from xfonts-jmk
Ian Jackson [Sun, 24 Apr 2016 23:13:34 +0000 (00:13 +0100)]
Process Neep 6x13 too (for apostrophe only).
Ian Jackson [Sun, 24 Apr 2016 23:13:06 +0000 (00:13 +0100)]
Permit new foundry names to contain "."s.
Ian Jackson [Sun, 24 Apr 2016 23:12:21 +0000 (00:12 +0100)]
Add debhelper-build-stamp to .gitignore.
Ian Jackson [Sun, 24 Apr 2016 23:11:34 +0000 (00:11 +0100)]
Commit ffconvert script (forgot to git add this, earlier)
Ian Jackson [Sun, 24 Apr 2016 23:10:55 +0000 (00:10 +0100)]
An internal error message in printrule is improved slightly.
Ian Jackson [Sun, 24 Apr 2016 23:10:23 +0000 (00:10 +0100)]
Version of Neep 6x13 with fixed apostrophe
Ian Jackson [Sun, 24 Apr 2016 23:08:23 +0000 (00:08 +0100)]
mkrules can consume .bdf.direct, or .sfd files.
Ian Jackson [Sun, 24 Apr 2016 22:42:46 +0000 (23:42 +0100)]
Neep 6x13: Introduce bad font from xfonts-jmk
Ian Jackson [Sun, 24 Apr 2016 21:51:43 +0000 (22:51 +0100)]
Document in Description that we process some other font sizes too.
Ian Jackson [Sun, 24 Apr 2016 21:51:19 +0000 (22:51 +0100)]
Process `10x20' too. (It was shifted down a pixel during the conversion; we don't undo this, yet. So far, we just fix the quotes.)
Ian Jackson [Sun, 24 Apr 2016 21:48:26 +0000 (22:48 +0100)]
10x20: Introduce bad pcf from current xfonts-base, 1:1.0.4+nmu1
Ian Jackson [Sun, 24 Apr 2016 21:47:44 +0000 (22:47 +0100)]
10x20: Introduce good pcf from xfonts-base 3.3.6-2.deb
Ian Jackson [Sun, 24 Apr 2016 21:47:16 +0000 (22:47 +0100)]
In copyright file, more clearly annotate the two copyright files.
Ian Jackson [Sun, 24 Apr 2016 21:08:02 +0000 (22:08 +0100)]
mkrules keys the rules key off `bad' rather than `good' (since some fonts have different metrics before and after!)
Ian Jackson [Mon, 5 Jan 2015 15:44:38 +0000 (15:44 +0000)]
Fix utf-8 in Camaleon's name (which Emacs broke during c&p)
Ian Jackson [Mon, 5 Jan 2015 14:40:08 +0000 (14:40 +0000)]
Spanish debconf translation update. Closes: #669375.
Ian Jackson [Fri, 12 Dec 2014 00:20:30 +0000 (00:20 +0000)]
Source package now contains .gitignore which git-buildpackage mistakenly had dpkg-source strip out.
Ian Jackson [Fri, 12 Dec 2014 00:11:46 +0000 (00:11 +0000)]
finalise 1.7
Ian Jackson [Fri, 12 Dec 2014 00:11:32 +0000 (00:11 +0000)]
Use interest-noawait to fix dpkg trigger cycle. Closes: #772860. Thanks to report from Guillem Jover.
Ian Jackson [Fri, 12 Dec 2014 00:10:27 +0000 (00:10 +0000)]
Brazilian Portuguese debconf translation. Closes: #770366.
Ian Jackson [Fri, 12 Dec 2014 00:08:58 +0000 (00:08 +0000)]
Japanese debconf translation. Closes: #692144.
Ian Jackson [Fri, 12 Dec 2014 00:03:55 +0000 (00:03 +0000)]
Merge remote-tracking branch 'dgit/dgit/sid'
Ian Jackson [Thu, 14 Jun 2012 18:45:21 +0000 (19:45 +0100)]
finalise changelog
Ian Jackson [Thu, 14 Jun 2012 18:45:17 +0000 (19:45 +0100)]
xfonts-traditional (1.6) unstable; urgency=low
[ Camaleón <noelamac@gmail.com> ]
* Spanish debconf translation. Closes: #677156.
[ Ian Jackson ]
* Punctuation fix in English template, reported by Camaleón.
# imported from the archive
Ian Jackson [Thu, 14 Jun 2012 18:44:33 +0000 (19:44 +0100)]
unfuzzy the translations
Ian Jackson [Thu, 14 Jun 2012 18:42:46 +0000 (19:42 +0100)]
debconf: punctuation fix in template
Ian Jackson [Thu, 14 Jun 2012 18:24:11 +0000 (19:24 +0100)]
debconf: spanish translation
Ian Jackson [Sun, 10 Jun 2012 21:00:10 +0000 (22:00 +0100)]
finalise changelog
Ian Jackson [Sun, 10 Jun 2012 20:17:18 +0000 (21:17 +0100)]
unfuzzy the translations
git-checkout
51f936cff73344e45074614799cd1ffcb2a62ec4
debconf-updatepo
cp templates.pot templates.pot.orig
git-checkout master
debconf-updatepo
git-checkout *.po
msguntypot -o templates.pot.orig -n templates.pot *.po
rm templates.pot.orig
git-commit -a
Ian Jackson [Sun, 10 Jun 2012 19:55:58 +0000 (20:55 +0100)]
Merge branch 'i18n'
Ian Jackson [Sun, 10 Jun 2012 19:51:32 +0000 (20:51 +0100)]
undo English changes
Ian Jackson [Sun, 10 Jun 2012 19:43:22 +0000 (20:43 +0100)]
sort out changelog
Ian Jackson [Sun, 10 Jun 2012 19:40:23 +0000 (20:40 +0100)]
exactly as found in #660965 message 34
Ian Jackson [Thu, 9 Feb 2012 12:31:20 +0000 (12:31 +0000)]
English l10n improvements
Ian Jackson [Thu, 26 Jan 2012 11:45:33 +0000 (11:45 +0000)]
changelog: add an item and finalise
Ian Jackson [Thu, 26 Jan 2012 11:44:27 +0000 (11:44 +0000)]
debian/control: add missing libsys-cpu-perl dependency
Ian Jackson [Thu, 26 Jan 2012 00:22:51 +0000 (00:22 +0000)]
fix wrong bug# (oops!) (again)
Ian Jackson [Wed, 25 Jan 2012 23:46:59 +0000 (23:46 +0000)]
fix wrong bug# (oops!)
Ian Jackson [Wed, 25 Jan 2012 23:22:58 +0000 (23:22 +0000)]
finalise changelog
Ian Jackson [Wed, 25 Jan 2012 23:22:39 +0000 (23:22 +0000)]
support --always-reprocess
Ian Jackson [Wed, 25 Jan 2012 23:15:41 +0000 (23:15 +0000)]
fix typo
Ian Jackson [Wed, 25 Jan 2012 23:14:44 +0000 (23:14 +0000)]
add bug #
Ian Jackson [Wed, 25 Jan 2012 21:51:03 +0000 (21:51 +0000)]
tolerate pcf2bdf crashing
Ian Jackson [Wed, 25 Jan 2012 21:46:58 +0000 (21:46 +0000)]
processpcfgz: completely revamped subprocess data structures and error handling
Ian Jackson [Wed, 25 Jan 2012 21:46:14 +0000 (21:46 +0000)]
processfontdir: better message for failures
Ian Jackson [Wed, 25 Jan 2012 21:40:45 +0000 (21:40 +0000)]
bdftopcf: special-case "no bdf data" return
Ian Jackson [Wed, 25 Jan 2012 20:56:25 +0000 (20:56 +0000)]
fix message ("none") return value s from processbdf and hence processpcfgz
Ian Jackson [Thu, 12 Jan 2012 19:22:36 +0000 (19:22 +0000)]
changelog: mention parallelism
Ian Jackson [Thu, 12 Jan 2012 19:16:14 +0000 (19:16 +0000)]
update-xfonts-traditional: process fonts in parallel
Exploit multicore systems to speed up the runtime when processing
needs to be done.
Some timing results on a dual-core 1.50GHz Atom N550 laptop:
-j1
real 0m43.035s
user 0m43.319s
sys 0m37.830s
-j2
real 0m23.113s
user 0m40.643s
sys 0m30.486s
-j3
real 0m21.910s
user 0m43.707s
sys 0m30.674s
-j4
real 0m22.038s
user 0m44.695s
sys 0m31.058s
This system has hyperthreading so looks like 4 cores. Based on this
I have set the number of processing threads to the number of cpus.
Ian Jackson [Wed, 11 Jan 2012 23:59:19 +0000 (23:59 +0000)]
finalise 1.2.
Mark Wooding [Wed, 11 Jan 2012 14:27:09 +0000 (14:27 +0000)]
debian/copyright: Explain the origin and copyright status of 6x13O.
Mark Wooding [Wed, 11 Jan 2012 14:16:30 +0000 (14:16 +0000)]
Provide 6x13O as a BDF source and generate a PCF from it at build time.
Just in case we feel the need to edit it later. Also, BDF is slightly
closer to a `preferred form for modification'.
Mark Wooding [Wed, 11 Jan 2012 01:35:25 +0000 (01:35 +0000)]
Support for bold and oblique versions of 6x13.
There is no traditional version of 6x13O, so I just hacked the font
so that it looks like an italicized version of trad 6x13 rather than
Kuhn 6x13.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
Mark Wooding [Wed, 11 Jan 2012 01:32:37 +0000 (01:32 +0000)]
mkrules: Correct handling of multiple foundry mappings.
If multiple PCFs request the same mapping, only write it once; if
they induce inconsistent mappings, report an error. Make sure
there's a newline between foundry mapping entries.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
Mark Wooding [Tue, 10 Jan 2012 23:59:05 +0000 (23:59 +0000)]
mkrules: Handle multiple files with the same metrics.
If we had two PCF files with the same metrics previously, we'd overwrite
the rules file from the first with a new file from the second. Keep
track of which files we've written during the run, and append to them if
we've already started writing. Finish them all up at the end.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
Mark Wooding [Tue, 10 Jan 2012 22:29:14 +0000 (22:29 +0000)]
Makefile: Make sure the `rules' directory exists.
Git won't create it so we must do so here.
Signed-off-by: Mark Wooding <mdw@distorted.org.uk>
Ian Jackson [Tue, 10 Jan 2012 02:56:24 +0000 (02:56 +0000)]
fix messages etc.
Ian Jackson [Tue, 10 Jan 2012 02:49:47 +0000 (02:49 +0000)]
use template for confirm q
Ian Jackson [Tue, 10 Jan 2012 02:29:17 +0000 (02:29 +0000)]
slight template improvements
Ian Jackson [Tue, 10 Jan 2012 02:17:27 +0000 (02:17 +0000)]
new changelog entry
Ian Jackson [Tue, 10 Jan 2012 02:16:41 +0000 (02:16 +0000)]
cosmetics
Ian Jackson [Tue, 10 Jan 2012 02:14:08 +0000 (02:14 +0000)]
better config file handling
Ian Jackson [Tue, 10 Jan 2012 00:56:19 +0000 (00:56 +0000)]
wip new config
Ian Jackson [Tue, 10 Jan 2012 00:11:30 +0000 (00:11 +0000)]
fix wide characters; tested iso10646
Ian Jackson [Mon, 9 Jan 2012 23:50:35 +0000 (23:50 +0000)]
remove spurious blank
Ian Jackson [Mon, 9 Jan 2012 23:50:24 +0000 (23:50 +0000)]
bug report
Ian Jackson [Mon, 9 Jan 2012 23:35:05 +0000 (23:35 +0000)]
fix iso10646 trad
Ian Jackson [Mon, 9 Jan 2012 23:34:22 +0000 (23:34 +0000)]
wip
Ian Jackson [Mon, 9 Jan 2012 22:51:28 +0000 (22:51 +0000)]
add missing stuff to make clean
Ian Jackson [Mon, 9 Jan 2012 22:38:26 +0000 (22:38 +0000)]
change default
Ian Jackson [Mon, 9 Jan 2012 22:36:22 +0000 (22:36 +0000)]
fix up some lintian things
Ian Jackson [Mon, 9 Jan 2012 22:32:16 +0000 (22:32 +0000)]
fix postinst bug
Ian Jackson [Mon, 9 Jan 2012 22:29:17 +0000 (22:29 +0000)]
ran debconf-updatepo
Ian Jackson [Mon, 9 Jan 2012 22:27:25 +0000 (22:27 +0000)]
wip po-debconf
Ian Jackson [Mon, 9 Jan 2012 22:21:48 +0000 (22:21 +0000)]
do not mess with high-codepoint quotes
Ian Jackson [Mon, 9 Jan 2012 22:00:23 +0000 (22:00 +0000)]
packaging fixes
Ian Jackson [Mon, 9 Jan 2012 21:33:29 +0000 (21:33 +0000)]
fixes
Ian Jackson [Mon, 9 Jan 2012 21:23:33 +0000 (21:23 +0000)]
manpage
Ian Jackson [Mon, 9 Jan 2012 21:16:16 +0000 (21:16 +0000)]
reprocess when needed
Ian Jackson [Mon, 9 Jan 2012 20:46:54 +0000 (20:46 +0000)]
wip packaging
Ian Jackson [Mon, 9 Jan 2012 20:32:00 +0000 (20:32 +0000)]
wip maint scripts