]>
Commit | Line | Data |
---|---|---|
4188f38a | 1 | |
2 | ================= | |
3 | Open Source Fonts | |
4 | ================= | |
5 | mPDF should be able to read most TrueType Unicode font files with a .ttf extension | |
6 | Truetype fonts with .ttf or .otf extension and .ttc TrueType collections should also work OK. | |
7 | ||
8 | You will probably therefore have access to any number of fonts, but here are some useful sources for | |
9 | open-source or free-use fonts. Many of these were included with earlier versions of mPDF: | |
10 | ||
11 | General 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 | ||
18 | Thai fonts | |
19 | ---------- | |
20 | - Collection of Thai fonts from: ftp://linux.thai.net/pub/thailinux/software/thai-ttf/ | |
21 | ||
22 | ||
23 | OCR-B | |
24 | ----- | |
25 | OCRB (ocrb10) font: http://ansuz.sooke.bc.ca/software/ocrb.php | |
26 | Useful for barcodes (included in the release) | |
27 | ||
28 | Pan-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 | ||
37 | CJK (Chinese-Japanese-Korean) | |
38 | ----------------------------- | |
39 | HanNomA and B from: http://vietunicode.sourceforge.net/fonts/fonts_hannom.html | |
40 | unBatang_0613 from: http://people.ktug.or.kr/~nomos/mine/UnBatang_0613.ttf | |
41 | Sun-ExtA and Sun-ExtB from: http://www.alanwood.net/unicode/fonts-east-asian.html | |
42 | (http://www.alanwood.net/downloads/index.html) | |
43 | Fonts 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] | |
48 | Japanese IPA fonts: http://ossipedia.ipa.go.jp/ipafont/index.html | |
49 | ||
50 | Arabic/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 | ||
58 | Other sources | |
59 | ------------- | |
60 | http://www.unifont.org/fontguide/ | |
61 | http://www.alanwood.net/unicode/fonts.html | |
62 | http://cooltext.com (e.g. http://cooltext.com/Fonts-Unicode+Arabic) | |
63 | ApparatusSIL, DoulosSIL, Padauk from SIL: http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&cat_id=FontDownloads | |
64 | DaiBanna (Tai Le) | |
65 | ||
66 | Mediaeval & Ancient Scripts | |
67 | --------------------------- | |
68 | Junicode: http://junicode.sourceforge.net/ | |
69 | Cardo: http://scholarsfonts.net/cardofnt.html | |
70 | ||
71 | Syriac fonts | |
72 | ------------ | |
73 | http://www.bethmardutho.org/meltho/ | |
74 | ||
75 | ||
76 | ||
77 | ||
78 | ============ | |
79 | ARABIC FONTS | |
80 | ============ | |
81 | You can use any appropriate Unicode-encoded .ttf or .ttc font file for arabic text, but | |
82 | Content-type: text/html ]>