Skip to content

Commit 6efc6bf

Browse files
committed
[fujinet-for-atari-users] add font embedding.
1 parent e28f438 commit 6efc6bf

File tree

7 files changed

+296
-258
lines changed

7 files changed

+296
-258
lines changed

fujinet_for_atari_users/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ XSLTPROC=xsltproc
22
FOP=fop
33
FOP_CFG=fop.xml
44
SOURCE_FILE=fujinet_for_atari_users
5-
DOCBOOK_STYLESHEET=/usr/share/xml/docbook/stylesheet/nwalsh/fo/docbook.xsl
5+
DOCBOOK_STYLESHEET=$(SOURCE_FILE).xsl
66
FO=/tmp/tmp.fo
77

88
all: pdf

fujinet_for_atari_users/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,12 @@ apt-get install docbook docbook-book docbook-defguide docbook-dsssl docbook-util
1313
``` sh
1414
make
1515
```
16+
17+
## Meaning of files
18+
19+
* figs/ All graphic figures go here.
20+
* fonts/ All embedded fonts go here.
21+
* fop.xml - Primarily handles font embedding referenced by stylesheet.
22+
* fujinet_for_atari_users.xsl - The stylesheet.
23+
* fujinet_for_atari_Users.dbk - The main docbook file.
24+
* guide_structure.org - Used for holding notes on structure.
34 KB
Binary file not shown.
33.8 KB
Binary file not shown.

fujinet_for_atari_users/fop.xml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,20 @@
44

55
<!-- Base URL for resolving relative URLs -->
66
<base>.</base>
7-
7+
88
<renderers>
9-
<renderer mime="application/pdf">
10-
</renderer>
9+
<renderer mime="application/pdf">
10+
11+
<fonts>
12+
<font embed-url="fonts/OptimaLTStd-Bold.otf">
13+
<font-triplet name="Optima LT Std" style="normal" weight="bold"/>
14+
</font>
15+
<font embed-url="fonts/Optima-LT-Std-Roman.ttf">
16+
<font-triplet name="Optima LT Std" style="normal" weight="normal"/>
17+
</font>
18+
</fonts>
19+
20+
</renderer>
1121
</renderers>
1222

1323
</fop>

0 commit comments

Comments
 (0)