aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/libraries/mpdf/FONT INFO.txt
diff options
context:
space:
mode:
Diffstat (limited to 'inc/3rdparty/libraries/mpdf/FONT INFO.txt')
-rw-r--r--inc/3rdparty/libraries/mpdf/FONT INFO.txt164
1 files changed, 164 insertions, 0 deletions
diff --git a/inc/3rdparty/libraries/mpdf/FONT INFO.txt b/inc/3rdparty/libraries/mpdf/FONT INFO.txt
new file mode 100644
index 00000000..0f7057c9
--- /dev/null
+++ b/inc/3rdparty/libraries/mpdf/FONT INFO.txt
@@ -0,0 +1,164 @@
1
2=================
3Open Source Fonts
4=================
5mPDF should be able to read most TrueType Unicode font files with a .ttf extension
6Truetype fonts with .ttf or .otf extension and .ttc TrueType collections should also work OK.
7
8You will probably therefore have access to any number of fonts, but here are some useful sources for
9open-source or free-use fonts. Many of these were included with earlier versions of mPDF:
10
11General collections
12-------------------
13- DejaVu font collection from: http://dejavu-fonts.org/wiki/Main_Page (included in the release)
14- GNU FreeFont from: http://www.gnu.org/software/freefont/
15- Linux Libertine from: http://www.linuxlibertine.org (use the .ttf files - not the .otf)
16- Liberation Fonts from: https://fedorahosted.org/liberation-fonts/ or directly https://fedorahosted.org/releases/l/i/liberation-fonts/
17
18Thai fonts
19----------
20- Collection of Thai fonts from: ftp://linux.thai.net/pub/thailinux/software/thai-ttf/
21
22
23OCR-B
24-----
25OCRB (ocrb10) font: http://ansuz.sooke.bc.ca/software/ocrb.php
26 Useful for barcodes (included in the release)
27
28Pan-Unicode fonts (fonts containing most characters defined in Unicode)
29-----------------------------------------------------------------------
30- BitStream Cyberbit from: http://aol-4.vo.llnwd.net/pub/communicator/extras/fonts/windows/
31 Cyberbit.ZIP (or just Google it)
32 (NB if run with $debug_fonts gives warning of invalid table checksum - just turn it off!)
33- Code2000 (NB shareware) from: http://www.code2000.net/code2000_page.htm
34- Quivira from: http://www.quivira-font.com/ (combining diacritics are not placed correctly, but has a very full set of glyphs)
35
36
37CJK (Chinese-Japanese-Korean)
38-----------------------------
39HanNomA and B from: http://vietunicode.sourceforge.net/fonts/fonts_hannom.html
40unBatang_0613 from: http://people.ktug.or.kr/~nomos/mine/UnBatang_0613.ttf
41Sun-ExtA and Sun-ExtB from: http://www.alanwood.net/unicode/fonts-east-asian.html
42 (http://www.alanwood.net/downloads/index.html)
43Fonts which contain both Unicode BMP and SIP (Supplementary Ideographic Plane)
44 characters in one file e.g. "AR PL UMing" and "AR PL UKai"
45 from: http://www.freedesktop.org
46 http://www.freedesktop.org/wiki/Software/CJKUnifonts/Download
47[MS Windows fonts such as MS Mincho and MingLiU also work]
48Japanese IPA fonts: http://ossipedia.ipa.go.jp/ipafont/index.html
49
50Arabic/Eastern fonts
51--------------------
52- XW Zar fonts can be downloaded from: http://www.redlers.com/downloadfont.html
53 (2 of these fonts are included in the release)
54 (original site in Farsi: http://wiki.irmug.org/index.php/XWZar)
55- See below for more details and font names of the fonts used in mPDF 4.x
56
57
58Other sources
59-------------
60http://www.unifont.org/fontguide/
61http://www.alanwood.net/unicode/fonts.html
62http://cooltext.com (e.g. http://cooltext.com/Fonts-Unicode+Arabic)
63ApparatusSIL, DoulosSIL, Padauk from SIL: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=FontDownloads
64DaiBanna (Tai Le)
65
66Mediaeval & Ancient Scripts
67---------------------------
68Junicode: http://junicode.sourceforge.net/
69Cardo: http://scholarsfonts.net/cardofnt.html
70
71Syriac fonts
72------------
73http://www.bethmardutho.org/meltho/
74
75
76
77
78============
79ARABIC FONTS
80============
81You can use any appropriate Unicode-encoded .ttf or .ttc font file for arabic text, but
82the font file must include the Arabic Presentation Forms-B (U+FE70–U+FEFF).
832 of the XW Zar fonts are included in the release.
84
85
86
87===========
88INDIC FONTS
89===========
90Indic scripts e.g. Hindi, Bengali etc. use conjuct forms which have no Unicode assignment. You
91cannot therefore use any standard .ttf font files with mPDF.
92
93A set of fonts has been adapted to use specifically with mPDF. They are based on a set of fonts from:
94
95http://www.cdacmumbai.in/projects/indix/e_introduction.shtml
96
97NB These fonts are released under GNU GPL Version 2 license
98
99You need these adapted fonts (ind_bn_1_001.ttf etc.) to work with mPDF, as the glyphs have been
100assigned to Unicode values in the Private Use area (U+E000 ->). These are included in the
101mPDF download.
102
103
104
105Users of mPDF v4.x
106------------------
107The original indic font files do not contain a full set of even basic ASCII
108characters. The fonts supplied have been "fixed" to include those extra
109characters. This now works whether the font is subset or not.
110
111
112
113=========
114CJK Fonts
115=========
116
117
118Supplemental Ideographic Plane
119==============================
120SIP = Supplemental Ideographic Plane ( = Plane 2) = U+20000 - U+2FFFF (131072 - 196607)
121These characters are required for the HKSCS Hong Kong Supplementary Character Set. Fonts with
122SIP characters are commonly divided into a second file e.g. MingLiU and MingLiU-ExtB
123
124mPDF requires 2 fonts and they should be cross-referenced in config_fonts.php e.g.
125 "sun-exta" => array(
126 'R' => "Sun-ExtA.ttf",
127 'sip-ext' => 'sun-extb',
128 ),
129 "sun-extb" => array(
130 'R' => "Sun-ExtB.ttf",
131 ),
132
133--OR--
134(NB these ones also define the font number within the TTC Collection as TTCfontID)
135 'mingliu' => array (
136 'R' => 'mingliu.ttc',
137 'TTCfontID' => array (
138 'R' => 1,
139 ),
140 'sip-ext' => 'mingliu-extb',
141 ),
142 'mingliu-extb' => array (
143 'R' => 'mingliub.ttc',
144 'TTCfontID' => array (
145 'R' => 1,
146 ),
147 ),
148 'mingliu_hkscs' => array (
149 'R' => 'mingliu.ttc',
150 'TTCfontID' => array (
151 'R' => 3,
152 ),
153 'sip-ext' => 'mingliu_hkscs-extb',
154 ),
155 'mingliu_hkscs-extb' => array (
156 'R' => 'mingliub.ttc',
157 'TTCfontID' => array (
158 'R' => 3,
159 ),
160 ),
161
162
163
164