summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2009-03-01 16:12:12 +0100
committerTor Andersson <tor@ghostscript.com>2009-03-01 16:12:12 +0100
commit83785e41078f6e0bb2efce1d7783f166ac2e95c2 (patch)
tree7f6794596886bd71e1c7edabcbe85d25e21c6c22
parent861c39bf796ef374dd52df2314ab6d85df635b6d (diff)
downloadmupdf-83785e41078f6e0bb2efce1d7783f166ac2e95c2.tar.xz
Move fonts and cmaps building into mupdf Jamfile.
-rw-r--r--Jamfile5
-rw-r--r--cmaps/Jamfile97
-rw-r--r--fonts/Jamfile43
-rw-r--r--mupdf/Jamfile151
4 files changed, 151 insertions, 145 deletions
diff --git a/Jamfile b/Jamfile
index d3a55fe3..848f4e00 100644
--- a/Jamfile
+++ b/Jamfile
@@ -14,11 +14,6 @@ HDRS += [ FDirName $(TOP) apps ] ;
SubInclude TOP fitz ;
SubInclude TOP fitzdraw ;
-
-SubInclude TOP cmaps ;
-SubInclude TOP fonts ;
SubInclude TOP mupdf ;
-
SubInclude TOP apps ;
-
diff --git a/cmaps/Jamfile b/cmaps/Jamfile
deleted file mode 100644
index e96c7093..00000000
--- a/cmaps/Jamfile
+++ /dev/null
@@ -1,97 +0,0 @@
-#
-# These CMaps come from http://www.adobe.com/devnet/font/#pcfi
-#
-
-SubDir TOP cmaps ;
-
-SubDir TOP cmaps chinese_s ;
-GenFile cmap_chinese_s.c : cmapdump
- Adobe-GB1-4
- Adobe-GB1-UCS2
- GB-EUC-H
- GB-EUC-V
- GBK-EUC-H
- GBK-EUC-UCS2
- GBK-EUC-V
- GBK2K-H
- GBK2K-V
- GBKp-EUC-H
- GBKp-EUC-V
- GBT-EUC-H
- GBT-EUC-V
- GBpc-EUC-H
- GBpc-EUC-UCS2
- GBpc-EUC-UCS2C
- GBpc-EUC-V
- UniGB-UCS2-H
- UniGB-UCS2-V
- ;
-Library libcmaps : cmap_chinese_s.c ;
-
-SubDir TOP cmaps chinese_t ;
-GenFile cmap_chinese_t.c : cmapdump
- Adobe-CNS1-3
- Adobe-CNS1-UCS2
- B5pc-H
- B5pc-UCS2
- B5pc-UCS2C
- B5pc-V
- CNS-EUC-H
- CNS-EUC-V
- ETen-B5-H
- ETen-B5-UCS2
- ETen-B5-V
- HKscs-B5-H
- HKscs-B5-V
- UniCNS-UCS2-H
- UniCNS-UCS2-V
- ;
-Library libcmaps : cmap_chinese_t.c ;
-
-SubDir TOP cmaps japanese ;
-GenFile cmap_japanese.c : cmapdump
- 83pv-RKSJ-H
- 90ms-RKSJ-H
- 90ms-RKSJ-UCS2
- 90ms-RKSJ-V
- 90msp-RKSJ-H
- 90msp-RKSJ-V
- 90pv-RKSJ-H
- 90pv-RKSJ-UCS2
- 90pv-RKSJ-UCS2C
- Add-RKSJ-H
- Add-RKSJ-V
- Adobe-Japan1-4
- Adobe-Japan1-UCS2
- EUC-H
- EUC-V
- Ext-RKSJ-H
- Ext-RKSJ-V
- H
- UniJIS-UCS2-H
- UniJIS-UCS2-HW-H
- UniJIS-UCS2-HW-V
- UniJIS-UCS2-V
- V
- ;
-Library libcmaps : cmap_japanese.c ;
-
-SubDir TOP cmaps korean ;
-GenFile cmap_korean.c : cmapdump
- Adobe-Korea1-2
- Adobe-Korea1-UCS2
- KSC-EUC-H
- KSC-EUC-V
- KSCms-UHC-H
- KSCms-UHC-HW-H
- KSCms-UHC-HW-V
- KSCms-UHC-UCS2
- KSCms-UHC-V
- KSCpc-EUC-H
- KSCpc-EUC-UCS2
- KSCpc-EUC-UCS2C
- UniKS-UCS2-H
- UniKS-UCS2-V
- ;
-Library libcmaps : cmap_korean.c ;
-
diff --git a/fonts/Jamfile b/fonts/Jamfile
deleted file mode 100644
index 03b4df6b..00000000
--- a/fonts/Jamfile
+++ /dev/null
@@ -1,43 +0,0 @@
-SubDir TOP fonts ;
-
-GenFile font_misc.c : fontdump
- Dingbats.cff
- StandardSymL.cff
- URWChanceryL-MediItal.cff
- ;
-
-GenFile font_mono.c : fontdump
- NimbusMonL-Regu.cff
- NimbusMonL-ReguObli.cff
- NimbusMonL-Bold.cff
- NimbusMonL-BoldObli.cff
- ;
-
-GenFile font_serif.c : fontdump
- NimbusRomNo9L-Regu.cff
- NimbusRomNo9L-ReguItal.cff
- NimbusRomNo9L-Medi.cff
- NimbusRomNo9L-MediItal.cff
- ;
-
-GenFile font_sans.c : fontdump
- NimbusSanL-Bold.cff
- NimbusSanL-BoldItal.cff
- NimbusSanL-Regu.cff
- NimbusSanL-ReguItal.cff
- ;
-
-Library libfonts :
- font_misc.c
- font_mono.c
- font_serif.c
- font_sans.c
- ;
-
-if ! ( NOCJK in $(DEFINES) )
-{
- SubDir TOP fonts droid ;
- GenFile font_cjk.c : fontdump DroidSansFallback.ttf ;
- Library libfonts : font_cjk.c ;
-}
-
diff --git a/mupdf/Jamfile b/mupdf/Jamfile
index f95799b5..c741e7e6 100644
--- a/mupdf/Jamfile
+++ b/mupdf/Jamfile
@@ -1,6 +1,11 @@
+#
+#
+#
+
SubDir TOP mupdf ;
Main fontdump : fontdump.c ;
+
Main cmapdump : cmapdump.c ;
LinkLibraries cmapdump : libfitz ;
@@ -58,3 +63,149 @@ Library libmupdf :
;
+#
+# The CMaps come from http://www.adobe.com/devnet/font/#pcfi
+#
+
+SubDir TOP cmaps ;
+
+SubDir TOP cmaps chinese_s ;
+GenFile cmap_chinese_s.c : cmapdump
+ Adobe-GB1-4
+ Adobe-GB1-UCS2
+ GB-EUC-H
+ GB-EUC-V
+ GBK-EUC-H
+ GBK-EUC-UCS2
+ GBK-EUC-V
+ GBK2K-H
+ GBK2K-V
+ GBKp-EUC-H
+ GBKp-EUC-V
+ GBT-EUC-H
+ GBT-EUC-V
+ GBpc-EUC-H
+ GBpc-EUC-UCS2
+ GBpc-EUC-UCS2C
+ GBpc-EUC-V
+ UniGB-UCS2-H
+ UniGB-UCS2-V
+ ;
+Library libcmaps : cmap_chinese_s.c ;
+
+SubDir TOP cmaps chinese_t ;
+GenFile cmap_chinese_t.c : cmapdump
+ Adobe-CNS1-3
+ Adobe-CNS1-UCS2
+ B5pc-H
+ B5pc-UCS2
+ B5pc-UCS2C
+ B5pc-V
+ CNS-EUC-H
+ CNS-EUC-V
+ ETen-B5-H
+ ETen-B5-UCS2
+ ETen-B5-V
+ HKscs-B5-H
+ HKscs-B5-V
+ UniCNS-UCS2-H
+ UniCNS-UCS2-V
+ ;
+Library libcmaps : cmap_chinese_t.c ;
+
+SubDir TOP cmaps japanese ;
+GenFile cmap_japanese.c : cmapdump
+ 83pv-RKSJ-H
+ 90ms-RKSJ-H
+ 90ms-RKSJ-UCS2
+ 90ms-RKSJ-V
+ 90msp-RKSJ-H
+ 90msp-RKSJ-V
+ 90pv-RKSJ-H
+ 90pv-RKSJ-UCS2
+ 90pv-RKSJ-UCS2C
+ Add-RKSJ-H
+ Add-RKSJ-V
+ Adobe-Japan1-4
+ Adobe-Japan1-UCS2
+ EUC-H
+ EUC-V
+ Ext-RKSJ-H
+ Ext-RKSJ-V
+ H
+ UniJIS-UCS2-H
+ UniJIS-UCS2-HW-H
+ UniJIS-UCS2-HW-V
+ UniJIS-UCS2-V
+ V
+ ;
+Library libcmaps : cmap_japanese.c ;
+
+SubDir TOP cmaps korean ;
+GenFile cmap_korean.c : cmapdump
+ Adobe-Korea1-2
+ Adobe-Korea1-UCS2
+ KSC-EUC-H
+ KSC-EUC-V
+ KSCms-UHC-H
+ KSCms-UHC-HW-H
+ KSCms-UHC-HW-V
+ KSCms-UHC-UCS2
+ KSCms-UHC-V
+ KSCpc-EUC-H
+ KSCpc-EUC-UCS2
+ KSCpc-EUC-UCS2C
+ UniKS-UCS2-H
+ UniKS-UCS2-V
+ ;
+Library libcmaps : cmap_korean.c ;
+
+#
+# The base 14 fonts are the Type1 URW fonts converted to raw CFF format.
+# DroidSansFallback.ttf is a compact CJK font from Google's Android project.
+#
+
+SubDir TOP fonts ;
+
+GenFile font_misc.c : fontdump
+ Dingbats.cff
+ StandardSymL.cff
+ URWChanceryL-MediItal.cff
+ ;
+
+GenFile font_mono.c : fontdump
+ NimbusMonL-Regu.cff
+ NimbusMonL-ReguObli.cff
+ NimbusMonL-Bold.cff
+ NimbusMonL-BoldObli.cff
+ ;
+
+GenFile font_serif.c : fontdump
+ NimbusRomNo9L-Regu.cff
+ NimbusRomNo9L-ReguItal.cff
+ NimbusRomNo9L-Medi.cff
+ NimbusRomNo9L-MediItal.cff
+ ;
+
+GenFile font_sans.c : fontdump
+ NimbusSanL-Bold.cff
+ NimbusSanL-BoldItal.cff
+ NimbusSanL-Regu.cff
+ NimbusSanL-ReguItal.cff
+ ;
+
+Library libfonts :
+ font_misc.c
+ font_mono.c
+ font_serif.c
+ font_sans.c
+ ;
+
+if ! ( NOCJK in $(DEFINES) )
+{
+ SubDir TOP fonts droid ;
+ GenFile font_cjk.c : fontdump DroidSansFallback.ttf ;
+ Library libfonts : font_cjk.c ;
+}
+
+