-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remap accents to directional single-quotes
- Loading branch information
Showing
6 changed files
with
119 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
pdfs := $(wildcard tmp/*.pdf) | ||
all: pdfs font-list | ||
|
||
all: $(pdfs) | ||
pdfs: $(wildcard tmp/*.pdf) | ||
|
||
%.pdf: %.out | ||
@gropdf -d < $^ > $@ | ||
|
||
watch:; @watchman -- trigger . _ 'tmp/*.out' -- make all | ||
unwatch:; @watchman -- watch-del . | ||
|
||
font-list := test/fixtures/pdf-fonts | ||
font-list: $(font-list).pdf | ||
|
||
$(font-list).pdf: $(font-list).roff | ||
@ groff -Tpdf -Z $(if $(VERBOSE),-rV1) $< \ | ||
| tee $(font-list).out \ | ||
| gropdf -d > $@ | ||
|
||
|
||
watch = watchman -- trigger . $(1) '$(2)' -- make $(1) | ||
|
||
watch: | ||
@$(call watch,pdfs,tmp/*.out) | ||
@$(call watch,font-list,$(font-list).roff) | ||
|
||
unwatch: | ||
@watchman -- watch-del . | ||
|
||
.PHONY: watch unwatch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
!quote-mystery.pdf | ||
pdf-fonts.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
'\" ========================================== | ||
'\" Print a small sample of each core PDF font | ||
'\" ------------------------------------------ | ||
.ds LQ ` | ||
.ds RQ ' | ||
.ds QQ ABC \\*(LQ123\\*(RQ XYZ | ||
. | ||
.ad r | ||
.ta (2.5i) | ||
.ps 32p | ||
.vs 2m | ||
. | ||
.de test | ||
. ft \\$1 | ||
. if '\\nV'1' .tm Setting Font: \\$1 | ||
\\$1\t\\*(QQ | ||
. br | ||
.. | ||
. | ||
.test AB | ||
.test ABI | ||
.test AI | ||
.test AR | ||
.test BMB | ||
.test BMBI | ||
.test BMI | ||
.test BMR | ||
.test CB | ||
.test CBI | ||
.test CI | ||
.test CR | ||
.test HB | ||
.test HBI | ||
.test HI | ||
.test HNB | ||
.test HNBI | ||
.test HNI | ||
.test HNR | ||
.test HR | ||
.test NB | ||
.test NBI | ||
.test NI | ||
.test NR | ||
.test PB | ||
.test PBI | ||
.test PI | ||
.test PR | ||
.test TB | ||
.test TBI | ||
.test TI | ||
.test TR | ||
.test U-AB | ||
.test U-ABI | ||
.test U-AI | ||
.test U-AR | ||
.test U-BMB | ||
.test U-BMBI | ||
.test U-BMI | ||
.test U-BMR | ||
.test U-CB | ||
.test U-CBI | ||
.test U-CI | ||
.test U-CR | ||
.test U-HB | ||
.test U-HBI | ||
.test U-HI | ||
.test U-HNB | ||
.test U-HNBI | ||
.test U-HNI | ||
.test U-HNR | ||
.test U-HR | ||
.test U-NB | ||
.test U-NBI | ||
.test U-NI | ||
.test U-NR | ||
.test U-PB | ||
.test U-PBI | ||
.test U-PI | ||
.test U-PR | ||
.test U-TB | ||
.test U-TBI | ||
.test U-TI | ||
.test U-TR | ||
.test U-ZCMI | ||
.test ZCMI |
Binary file not shown.