laag-fontconfig 2.13.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +57 -0
- data/LICENSE.txt +28 -0
- data/README.org +34 -0
- data/ext/laag/fontconfig/extconf.rb +13 -0
- data/laag-fontconfig.gemspec +20 -0
- data/lib/laag/fontconfig.rb +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/AUTHORS +3 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/COPYING +28 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/INSTALL +42 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/Makefile.am +158 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/NEWS +0 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/README +2016 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/Tools.mk +64 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/autogen.sh +126 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-autohint.conf +19 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-hinting-full.conf +19 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-hinting-medium.conf +19 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-hinting-none.conf +19 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-hinting-slight.conf +19 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-no-sub-pixel.conf +19 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-scale-bitmap-fonts.conf +87 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-sub-pixel-bgr.conf +19 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-sub-pixel-rgb.conf +19 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-sub-pixel-vbgr.conf +19 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-sub-pixel-vrgb.conf +19 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/10-unhinted.conf +19 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/11-lcdfilter-default.conf +21 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/11-lcdfilter-legacy.conf +21 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/11-lcdfilter-light.conf +21 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/20-unhint-small-vera.conf +53 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/25-unhint-nonlatin.conf +132 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/30-metric-aliases.conf +634 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/40-nonlatin.conf +236 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/45-generic.conf +136 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/45-latin.conf +278 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/49-sansserif.conf +26 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/50-user.conf +20 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/51-local.conf +11 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/60-generic.conf +67 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/60-latin.conf +79 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/65-fonts-persian.conf +423 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/65-khmer.conf +20 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/65-nonlatin.conf +200 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/69-unifont.conf +32 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/70-no-bitmaps.conf +17 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/70-yes-bitmaps.conf +17 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/80-delicious.conf +23 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/90-synthetic.conf +68 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/Makefile.am +110 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/conf.d/README.in +23 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/config-fixups.h +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/configure.ac +793 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/Makefile.am +224 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/check-missing-doc +24 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/confdir.sgml.in +26 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/edit-sgml.c +546 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcatomic.fncs +95 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcblanks.fncs +60 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fccache.fncs +104 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fccharset.fncs +242 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcconfig.fncs +447 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcconstant.fncs +58 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcdircache.fncs +99 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcfile.fncs +88 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcfontset.fncs +140 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcformat.fncs +309 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcfreetype.fncs +135 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcinit.fncs +92 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fclangset.fncs +201 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcmatrix.fncs +125 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcobjectset.fncs +73 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcobjecttype.fncs +48 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcpattern.fncs +433 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcrange.fncs +75 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcstring.fncs +244 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcstrset.fncs +124 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcvalue.fncs +61 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fcweight.fncs +69 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fontconfig-devel.sgml +613 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/fontconfig-user.sgml +812 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/func.sgml +91 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/doc/version.sgml.in +24 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-cache/Makefile.am +69 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-cache/fc-cache.c +423 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-cache/fc-cache.sgml +249 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-case/CaseFolding.txt +1495 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-case/Makefile.am +36 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-case/fc-case.c +363 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-case/fccase.tmpl.h +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-cat/Makefile.am +60 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-cat/fc-cat.c +400 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-cat/fc-cat.sgml +169 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-conflist/Makefile.am +60 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-conflist/fc-conflist.c +142 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-conflist/fc-conflist.sgml +135 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/Makefile.am +288 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/README +28 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/aa.orth +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ab.orth +45 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/af.orth +46 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ak.orth +30 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/am.orth +36 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/an.orth +45 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ar.orth +39 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/as.orth +45 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ast.orth +47 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/av.orth +97 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ay.orth +37 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/az_az.orth +53 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/az_ir.orth +32 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ba.orth +56 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/be.orth +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ber_dz.orth +27 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ber_ma.orth +46 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/bg.orth +43 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/bh.orth +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/bho.orth +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/bi.orth +39 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/bin.orth +55 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/bm.orth +37 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/bn.orth +44 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/bo.orth +39 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/br.orth +47 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/brx.orth +46 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/bs.orth +39 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/bua.orth +102 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/byn.orth +27 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ca.orth +58 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ce.orth +97 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ch.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/chm.orth +109 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/chr.orth +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/co.orth +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/crh.orth +46 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/cs.orth +67 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/csb.orth +46 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/cu.orth +42 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/cv.orth +109 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/cy.orth +63 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/da.orth +89 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/de.orth +49 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/doi.orth +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/dv.orth +34 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/dz.orth +28 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ee.orth +77 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/el.orth +32 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/en.orth +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/eo.orth +32 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/es.orth +50 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/et.orth +47 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/eu.orth +45 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fa.orth +73 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fat.orth +30 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fc-lang.c +595 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fc-lang.man +39 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fclang.tmpl.h +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ff.orth +38 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fi.orth +51 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fil.orth +45 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fj.orth +34 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fo.orth +59 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fr.orth +58 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fur.orth +39 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/fy.orth +61 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ga.orth +84 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/gd.orth +51 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/gez.orth +60 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/gl.orth +50 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/gn.orth +48 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/gu.orth +41 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/gv.orth +31 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ha.orth +36 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/haw.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/he.orth +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/hi.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/hne.orth +28 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ho.orth +33 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/hr.orth +49 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/hsb.orth +42 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ht.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/hu.orth +49 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/hy.orth +26 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/hz.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ia.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/id.orth +31 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ie.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ig.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ii.orth +34 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ik.orth +100 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/io.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/is.orth +64 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/iso-3166.txt +242 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/iso639-1 +139 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/iso639-2 +473 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/it.orth +51 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/iu.orth +77 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ja.orth +2345 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/jv.orth +36 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ka.orth +34 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kaa.orth +110 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kab.orth +42 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ki.orth +33 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kj.orth +34 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kk.orth +45 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kl.orth +63 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/km.orth +39 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kn.orth +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ko.orth +2537 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kok.orth +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kr.orth +43 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ks.orth +32 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ku_am.orth +91 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ku_iq.orth +27 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ku_ir.orth +49 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ku_tr.orth +42 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kum.orth +96 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kv.orth +101 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kw.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/kwm.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ky.orth +102 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/la.orth +31 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/lah.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/lb.orth +62 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/lez.orth +97 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/lg.orth +33 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/li.orth +43 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ln.orth +43 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/lo.orth +45 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/lt.orth +43 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/lv.orth +44 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/mai.orth +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/mg.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/mh.orth +45 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/mi.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/mk.orth +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ml.orth +38 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/mn_cn.orth +37 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/mn_mn.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/mni.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/mo.orth +37 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/mr.orth +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ms.orth +32 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/mt.orth +67 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/my.orth +37 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/na.orth +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/nb.orth +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/nds.orth +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ne.orth +43 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ng.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/nl.orth +63 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/nn.orth +43 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/no.orth +68 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/nqo.orth +30 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/nr.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/nso.orth +34 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/nv.orth +48 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ny.orth +30 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/oc.orth +53 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/om.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/or.orth +42 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/os.orth +96 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ota.orth +41 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/pa.orth +53 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/pa_pk.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/pap_an.orth +46 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/pap_aw.orth +31 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/pes.orth +26 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/pl.orth +41 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/prs.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ps_af.orth +52 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ps_pk.orth +52 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/pt.orth +64 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/qu.orth +36 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/quz.orth +36 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/rm.orth +45 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/rn.orth +32 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ro.orth +38 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ru.orth +38 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/rw.orth +31 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sa.orth +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sah.orth +108 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sat.orth +44 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sc.orth +42 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sco.orth +32 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sd.orth +58 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/se.orth +37 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sel.orth +96 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sg.orth +47 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sh.orth +33 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/shs.orth +48 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/si.orth +75 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sid.orth +27 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sk.orth +63 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sl.orth +88 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sm.orth +30 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sma.orth +37 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/smj.orth +37 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/smn.orth +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sms.orth +48 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sn.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/so.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sq.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sr.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ss.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/st.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/su.orth +33 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sv.orth +100 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/sw.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/syr.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ta.orth +46 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/te.orth +39 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/tg.orth +108 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/th.orth +30 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ti_er.orth +56 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ti_et.orth +33 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/tig.orth +52 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/tk.orth +44 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/tl.orth +27 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/tn.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/to.orth +30 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/tr.orth +49 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ts.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/tt.orth +108 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/tw.orth +50 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ty.orth +41 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/tyv.orth +102 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ug.orth +50 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/uk.orth +43 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/und_zmth.orth +144 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/und_zsye.orth +151 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ur.orth +68 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/uz.orth +36 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/ve.orth +34 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/vi.orth +58 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/vo.orth +36 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/vot.orth +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/wa.orth +47 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/wal.orth +27 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/wen.orth +42 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/wo.orth +42 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/xh.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/yap.orth +35 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/yi.orth +25 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/yo.orth +86 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/za.orth +39 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/zh_cn.orth +6792 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/zh_hk.orth +1119 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/zh_mo.orth +32 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/zh_sg.orth +27 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/zh_tw.orth +13105 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-lang/zu.orth +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-list/Makefile.am +60 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-list/fc-list.c +220 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-list/fc-list.sgml +227 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-match/Makefile.am +60 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-match/fc-match.c +268 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-match/fc-match.sgml +217 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-pattern/Makefile.am +60 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-pattern/fc-pattern.c +203 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-pattern/fc-pattern.sgml +204 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-query/Makefile.am +60 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-query/fc-query.c +194 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-query/fc-query.sgml +204 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-scan/Makefile.am +60 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-scan/fc-scan.c +197 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-scan/fc-scan.sgml +177 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-validate/Makefile.am +60 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-validate/fc-validate.c +250 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fc-validate/fc-validate.sgml +182 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fontconfig-zip.in +29 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fontconfig.pc.in +18 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fontconfig.spec.in +138 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fontconfig/Makefile.am +10 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fontconfig/fcfreetype.h +59 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fontconfig/fcprivate.h +134 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fontconfig/fontconfig.h +1107 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fonts.conf.in +94 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/fonts.dtd +233 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/git.mk +254 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/its/Makefile.am +11 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/its/fontconfig.its +4 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/its/fontconfig.loc +6 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/local.conf +42 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/m4/.gitkeep +0 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/m4/ac_check_symbol.m4 +48 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/m4/ax_cc_for_build.m4 +77 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/m4/ax_create_stdint_h.m4 +695 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/m4/ax_pthread.m4 +337 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/m4/pkg.m4 +214 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/new-version.sh +139 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/po-conf/ChangeLog +12 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/po-conf/LINGUAS +2 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/po-conf/Makevars +80 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/po-conf/POTFILES.in +34 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/po-conf/zh_CN.po +140 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/po/ChangeLog +12 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/po/LINGUAS +2 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/po/Makevars +78 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/po/POTFILES.in +11 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/po/zh_CN.po +608 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/Makefile.am +222 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcarch.c +59 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcarch.h +76 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcatomic.c +229 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcatomic.h +145 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fccache.c +1880 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fccfg.c +2668 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fccharset.c +1400 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fccompat.c +280 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcdbg.c +587 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcdefault.c +343 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcdeprecate.h +36 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcdir.c +435 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcformat.c +1220 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcfreetype.c +2626 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcfs.c +149 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcftint.h +54 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fchash.c +216 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcinit.c +258 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcint.h +1344 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fclang.c +1110 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fclist.c +645 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcmatch.c +1240 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcmatrix.c +116 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcmutex.h +127 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcname.c +634 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcobjs.c +168 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcobjs.h +75 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcobjshash.gperf.h +49 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcpat.c +1420 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcptrlist.c +198 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcrange.c +160 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcserialize.c +155 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcstat.c +442 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcstr.c +1371 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcweight.c +103 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcwindows.h +49 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/fcxml.c +3508 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/ftglue.c +261 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/ftglue.h +111 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/src/makealias +38 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/4x6.pcf +0 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/8x16.pcf +0 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/Makefile.am +64 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/fonts.conf.in +4 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/out.expected-long-family-names +8 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/out.expected-no-long-family-names +8 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/run-test.sh +205 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/test-bz131804.c +135 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/test-bz89617.c +40 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/test-bz96676.c +32 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/test-migration.c +230 -0
- data/vendor/anongit.freedesktop.org/git/fontconfig/test/test-pthread.c +101 -0
- metadata +518 -0
@@ -0,0 +1,77 @@
|
|
1
|
+
#
|
2
|
+
# fontconfig/fc-lang/ee.orth
|
3
|
+
#
|
4
|
+
# Copyright © 2009 Roozbeh Pournader
|
5
|
+
#
|
6
|
+
# Permission to use, copy, modify, distribute, and sell this software and its
|
7
|
+
# documentation for any purpose is hereby granted without fee, provided that
|
8
|
+
# the above copyright notice appear in all copies and that both that
|
9
|
+
# copyright notice and this permission notice appear in supporting
|
10
|
+
# documentation, and that the name of the author(s) not be used in
|
11
|
+
# advertising or publicity pertaining to distribution of the software without
|
12
|
+
# specific, written prior permission. The author(s) make(s) no
|
13
|
+
# representations about the suitability of this software for any purpose. It
|
14
|
+
# is provided "as is" without express or implied warranty.
|
15
|
+
#
|
16
|
+
# THE AUTHOR(S) DISCLAIM(S) ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
17
|
+
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
18
|
+
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
19
|
+
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
20
|
+
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
21
|
+
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
22
|
+
# PERFORMANCE OF THIS SOFTWARE.
|
23
|
+
#
|
24
|
+
# Ewe (ee)
|
25
|
+
#
|
26
|
+
# Sources:
|
27
|
+
# * http://www.uni-koeln.de/phil-fak/afrikanistik/down/publikationen/basic_ewe.pdf
|
28
|
+
# * http://en.wikipedia.org/wiki/Ewe_language
|
29
|
+
# * http://www.omniglot.com/writing/ewe.htm
|
30
|
+
# * http://www.panafril10n.org/wikidoc/pmwiki.php/PanAfrLoc/Gbe
|
31
|
+
#
|
32
|
+
# We amend the main alphabet with tone marks over each vowel, but some
|
33
|
+
# combinations lack precomposed forms in Unicode, so we also add indiviual
|
34
|
+
# combining marks.
|
35
|
+
#
|
36
|
+
# Sources also differ on the notation used for the fourth tone: circumflex
|
37
|
+
# vs combining line above (U+030D). At the moment, we are not including any
|
38
|
+
# of the two.
|
39
|
+
#
|
40
|
+
# There is also a nasalization mark for vowels (combining tilde), but there
|
41
|
+
# is a need for more research to find which vowels it's used with. The
|
42
|
+
# combination of nasalization and tones may also exist, resulting in double
|
43
|
+
# accents.
|
44
|
+
#
|
45
|
+
# C, J, and Q are not used.
|
46
|
+
#
|
47
|
+
0041-005A
|
48
|
+
0061-007A
|
49
|
+
00C0-00C1
|
50
|
+
00C8-00C9
|
51
|
+
00CC-00CD
|
52
|
+
00D2-00D3
|
53
|
+
00D9-00DA
|
54
|
+
00E0-00E1
|
55
|
+
00E8-00E9
|
56
|
+
00EC-00ED
|
57
|
+
00F2-00F3
|
58
|
+
00F9-00FA
|
59
|
+
011A-011B
|
60
|
+
014A-014B
|
61
|
+
0186
|
62
|
+
0189
|
63
|
+
# 018A # according to Unicode characters notes for U+0257
|
64
|
+
0190-0192
|
65
|
+
0194
|
66
|
+
01B2
|
67
|
+
01CD-01D4
|
68
|
+
0254
|
69
|
+
0256
|
70
|
+
# 0257 # according to Unicode character notes
|
71
|
+
025B
|
72
|
+
0263
|
73
|
+
028B
|
74
|
+
0300-0301 # to be used with open e and open o
|
75
|
+
# 0303 # combining tilde
|
76
|
+
030C # to be used with open e and open o
|
77
|
+
# 030D # combining vertical line above
|
@@ -0,0 +1,32 @@
|
|
1
|
+
#
|
2
|
+
# fontconfig/fc-lang/el.orth
|
3
|
+
#
|
4
|
+
# Copyright © 2002 Keith Packard
|
5
|
+
#
|
6
|
+
# Permission to use, copy, modify, distribute, and sell this software and its
|
7
|
+
# documentation for any purpose is hereby granted without fee, provided that
|
8
|
+
# the above copyright notice appear in all copies and that both that
|
9
|
+
# copyright notice and this permission notice appear in supporting
|
10
|
+
# documentation, and that the name of the author(s) not be used in
|
11
|
+
# advertising or publicity pertaining to distribution of the software without
|
12
|
+
# specific, written prior permission. The authors make no
|
13
|
+
# representations about the suitability of this software for any purpose. It
|
14
|
+
# is provided "as is" without express or implied warranty.
|
15
|
+
#
|
16
|
+
# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
17
|
+
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
18
|
+
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
19
|
+
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
20
|
+
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
21
|
+
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
22
|
+
# PERFORMANCE OF THIS SOFTWARE.
|
23
|
+
#
|
24
|
+
# Greek (EL)
|
25
|
+
#
|
26
|
+
# From vvas@hal.csd.auth.gr (Vasilis Vasaitis)
|
27
|
+
#
|
28
|
+
0386
|
29
|
+
0388-038a
|
30
|
+
038c
|
31
|
+
038e-03a1
|
32
|
+
03a3-03ce
|
@@ -0,0 +1,40 @@
|
|
1
|
+
#
|
2
|
+
# fontconfig/fc-lang/en.orth
|
3
|
+
#
|
4
|
+
# Copyright © 2002 Keith Packard
|
5
|
+
#
|
6
|
+
# Permission to use, copy, modify, distribute, and sell this software and its
|
7
|
+
# documentation for any purpose is hereby granted without fee, provided that
|
8
|
+
# the above copyright notice appear in all copies and that both that
|
9
|
+
# copyright notice and this permission notice appear in supporting
|
10
|
+
# documentation, and that the name of the author(s) not be used in
|
11
|
+
# advertising or publicity pertaining to distribution of the software without
|
12
|
+
# specific, written prior permission. The authors make no
|
13
|
+
# representations about the suitability of this software for any purpose. It
|
14
|
+
# is provided "as is" without express or implied warranty.
|
15
|
+
#
|
16
|
+
# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
17
|
+
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
18
|
+
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
19
|
+
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
20
|
+
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
21
|
+
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
22
|
+
# PERFORMANCE OF THIS SOFTWARE.
|
23
|
+
#
|
24
|
+
# English (EN)
|
25
|
+
0041-005a
|
26
|
+
0061-007a
|
27
|
+
00c0
|
28
|
+
00c7-00cb
|
29
|
+
00cf
|
30
|
+
00d1
|
31
|
+
00d4
|
32
|
+
00d6
|
33
|
+
00e0
|
34
|
+
00e7-00eb
|
35
|
+
00ef
|
36
|
+
00f1
|
37
|
+
00f4
|
38
|
+
00f6
|
39
|
+
#2018-2019 # single quotes
|
40
|
+
#201c-201d # double quotes
|
@@ -0,0 +1,32 @@
|
|
1
|
+
#
|
2
|
+
# fontconfig/fc-lang/eo.orth
|
3
|
+
#
|
4
|
+
# Copyright © 2002 Keith Packard
|
5
|
+
#
|
6
|
+
# Permission to use, copy, modify, distribute, and sell this software and its
|
7
|
+
# documentation for any purpose is hereby granted without fee, provided that
|
8
|
+
# the above copyright notice appear in all copies and that both that
|
9
|
+
# copyright notice and this permission notice appear in supporting
|
10
|
+
# documentation, and that the name of the author(s) not be used in
|
11
|
+
# advertising or publicity pertaining to distribution of the software without
|
12
|
+
# specific, written prior permission. The authors make no
|
13
|
+
# representations about the suitability of this software for any purpose. It
|
14
|
+
# is provided "as is" without express or implied warranty.
|
15
|
+
#
|
16
|
+
# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
17
|
+
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
18
|
+
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
19
|
+
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
20
|
+
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
21
|
+
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
22
|
+
# PERFORMANCE OF THIS SOFTWARE.
|
23
|
+
#
|
24
|
+
# Esperanto (EO)
|
25
|
+
0041-005a
|
26
|
+
0061-007a
|
27
|
+
0108-0109
|
28
|
+
011c-011d
|
29
|
+
0124-0125
|
30
|
+
0134-0135
|
31
|
+
015c-015d
|
32
|
+
016c-016d
|
@@ -0,0 +1,50 @@
|
|
1
|
+
#
|
2
|
+
# fontconfig/fc-lang/es.orth
|
3
|
+
#
|
4
|
+
# Copyright © 2002 Keith Packard
|
5
|
+
#
|
6
|
+
# Permission to use, copy, modify, distribute, and sell this software and its
|
7
|
+
# documentation for any purpose is hereby granted without fee, provided that
|
8
|
+
# the above copyright notice appear in all copies and that both that
|
9
|
+
# copyright notice and this permission notice appear in supporting
|
10
|
+
# documentation, and that the name of the author(s) not be used in
|
11
|
+
# advertising or publicity pertaining to distribution of the software without
|
12
|
+
# specific, written prior permission. The authors make no
|
13
|
+
# representations about the suitability of this software for any purpose. It
|
14
|
+
# is provided "as is" without express or implied warranty.
|
15
|
+
#
|
16
|
+
# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
17
|
+
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
18
|
+
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
19
|
+
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
20
|
+
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
21
|
+
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
22
|
+
# PERFORMANCE OF THIS SOFTWARE.
|
23
|
+
#
|
24
|
+
# Spanish (ES)
|
25
|
+
#
|
26
|
+
# Sources:
|
27
|
+
# www.evertype.com
|
28
|
+
# www.eki.ee/letter
|
29
|
+
#
|
30
|
+
0041-005a
|
31
|
+
0061-007a
|
32
|
+
#00A1 # INVERTED EXCLAMATION MARK
|
33
|
+
#00BF # INVERTED QUESTION MARK
|
34
|
+
00C1 # LATIN CAPITAL LETTER A WITH ACUTE
|
35
|
+
#00C7 # LATIN CAPITAL LETTER C WITH CEDILLA important @eki.ee
|
36
|
+
00C9 # LATIN CAPITAL LETTER E WITH ACUTE
|
37
|
+
00CD # LATIN CAPITAL LETTER I WITH ACUTE
|
38
|
+
00D1 # LATIN CAPITAL LETTER N WITH TILDE
|
39
|
+
00D3 # LATIN CAPITAL LETTER O WITH ACUTE
|
40
|
+
00DA # LATIN CAPITAL LETTER U WITH ACUTE
|
41
|
+
00DC # LATIN CAPITAL LETTER U WITH DIAERESIS
|
42
|
+
00E1 # LATIN SMALL LETTER A WITH ACUTE
|
43
|
+
#00E7 # LATIN SMALL LETTER C WITH CEDILLA important @eki.ee
|
44
|
+
00E9 # LATIN SMALL LETTER E WITH ACUTE
|
45
|
+
00ED # LATIN SMALL LETTER I WITH ACUTE
|
46
|
+
00F1 # LATIN SMALL LETTER N WITH TILDE
|
47
|
+
00F3 # LATIN SMALL LETTER O WITH ACUTE
|
48
|
+
00FA # LATIN SMALL LETTER U WITH ACUTE
|
49
|
+
00FC # LATIN SMALL LETTER U WITH DIAERESIS
|
50
|
+
#
|
@@ -0,0 +1,47 @@
|
|
1
|
+
#
|
2
|
+
# fontconfig/fc-lang/et.orth
|
3
|
+
#
|
4
|
+
# Copyright © 2002 Keith Packard
|
5
|
+
#
|
6
|
+
# Permission to use, copy, modify, distribute, and sell this software and its
|
7
|
+
# documentation for any purpose is hereby granted without fee, provided that
|
8
|
+
# the above copyright notice appear in all copies and that both that
|
9
|
+
# copyright notice and this permission notice appear in supporting
|
10
|
+
# documentation, and that the name of the author(s) not be used in
|
11
|
+
# advertising or publicity pertaining to distribution of the software without
|
12
|
+
# specific, written prior permission. The authors make no
|
13
|
+
# representations about the suitability of this software for any purpose. It
|
14
|
+
# is provided "as is" without express or implied warranty.
|
15
|
+
#
|
16
|
+
# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
17
|
+
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
18
|
+
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
19
|
+
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
20
|
+
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
21
|
+
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
22
|
+
# PERFORMANCE OF THIS SOFTWARE.
|
23
|
+
#
|
24
|
+
# Estonian (ET)
|
25
|
+
#
|
26
|
+
# Sources:
|
27
|
+
# www.evertype.com
|
28
|
+
# www.eki.ee/letter
|
29
|
+
#
|
30
|
+
0041-005a
|
31
|
+
0061-007a
|
32
|
+
00C4 # LATIN CAPITAL LETTER A WITH DIAERESIS
|
33
|
+
00D5 # LATIN CAPITAL LETTER O WITH TILDE
|
34
|
+
00D6 # LATIN CAPITAL LETTER O WITH DIAERESIS
|
35
|
+
00DC # LATIN CAPITAL LETTER U WITH DIAERESIS
|
36
|
+
00E4 # LATIN SMALL LETTER A WITH DIAERESIS
|
37
|
+
00F5 # LATIN SMALL LETTER O WITH TILDE
|
38
|
+
00F6 # LATIN SMALL LETTER O WITH DIAERESIS
|
39
|
+
00FC # LATIN SMALL LETTER U WITH DIAERESIS
|
40
|
+
0160 # LATIN CAPITAL LETTER S WITH CARON
|
41
|
+
0161 # LATIN SMALL LETTER S WITH CARON
|
42
|
+
017D # LATIN CAPITAL LETTER Z WITH CARON
|
43
|
+
017E # LATIN SMALL LETTER Z WITH CARON
|
44
|
+
#2018 # # single quote
|
45
|
+
#201a # # single quote
|
46
|
+
#201c # # double quote
|
47
|
+
#201e # # double quote
|
@@ -0,0 +1,45 @@
|
|
1
|
+
#
|
2
|
+
# fontconfig/fc-lang/eu.orth
|
3
|
+
#
|
4
|
+
# Copyright © 2002 Keith Packard
|
5
|
+
#
|
6
|
+
# Permission to use, copy, modify, distribute, and sell this software and its
|
7
|
+
# documentation for any purpose is hereby granted without fee, provided that
|
8
|
+
# the above copyright notice appear in all copies and that both that
|
9
|
+
# copyright notice and this permission notice appear in supporting
|
10
|
+
# documentation, and that the name of the author(s) not be used in
|
11
|
+
# advertising or publicity pertaining to distribution of the software without
|
12
|
+
# specific, written prior permission. The authors make no
|
13
|
+
# representations about the suitability of this software for any purpose. It
|
14
|
+
# is provided "as is" without express or implied warranty.
|
15
|
+
#
|
16
|
+
# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
17
|
+
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
18
|
+
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
19
|
+
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
20
|
+
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
21
|
+
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
22
|
+
# PERFORMANCE OF THIS SOFTWARE.
|
23
|
+
#
|
24
|
+
# Basque (EU)
|
25
|
+
#
|
26
|
+
# Sources:
|
27
|
+
# www.evertype.com
|
28
|
+
# www.eki.ee/letter
|
29
|
+
#
|
30
|
+
# The orthography from evertype.com comes from the Académie de la Langue
|
31
|
+
# Basque prior to 1926. eki.ee adds some additional letters, marked here
|
32
|
+
# and commented out. I've also commented out some older letters
|
33
|
+
# from the evertype.com orthography which are (apparently) no longer
|
34
|
+
# in use
|
35
|
+
#
|
36
|
+
0041-005a
|
37
|
+
0061-007a
|
38
|
+
#00C7 # LATIN CAPITAL LETTER C WITH CEDILLA eki.ee
|
39
|
+
00D1 LATIN CAPITAL LETTER N WITH TILDE
|
40
|
+
00DC LATIN CAPITAL LETTER U WITH DIAERESIS
|
41
|
+
#00E7 # LATIN SMALL LETTER C WITH CEDILLA eki.ee
|
42
|
+
00F1 LATIN SMALL LETTER N WITH TILDE
|
43
|
+
00FC LATIN SMALL LETTER U WITH DIAERESIS
|
44
|
+
#0154 LATIN CAPITAL LETTER R WITH ACUTE evertype.com
|
45
|
+
#0155 LATIN SMALL LETTER R WITH ACUTE evertype.com
|
@@ -0,0 +1,73 @@
|
|
1
|
+
#
|
2
|
+
# fontconfig/fc-lang/fa.orth
|
3
|
+
#
|
4
|
+
# Copyright © 2002 Keith Packard
|
5
|
+
# Copyright © 2009 Roozbeh Pournader
|
6
|
+
#
|
7
|
+
# Permission to use, copy, modify, distribute, and sell this software and its
|
8
|
+
# documentation for any purpose is hereby granted without fee, provided that
|
9
|
+
# the above copyright notice appear in all copies and that both that
|
10
|
+
# copyright notice and this permission notice appear in supporting
|
11
|
+
# documentation, and that the name of the author(s) not be used in
|
12
|
+
# advertising or publicity pertaining to distribution of the software without
|
13
|
+
# specific, written prior permission. The authors make no
|
14
|
+
# representations about the suitability of this software for any purpose. It
|
15
|
+
# is provided "as is" without express or implied warranty.
|
16
|
+
#
|
17
|
+
# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
18
|
+
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
19
|
+
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
20
|
+
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
21
|
+
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
22
|
+
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
23
|
+
# PERFORMANCE OF THIS SOFTWARE.
|
24
|
+
#
|
25
|
+
# Persian (fa)
|
26
|
+
#
|
27
|
+
# Sources:
|
28
|
+
# * ISIRI 6219:2002, "Information Technology — Persian Information
|
29
|
+
# Interchange and Display Mechanism, using Unicode"
|
30
|
+
# * "Dastur-e Khat-te Fārsi", Iranian Academy of Persian Language and
|
31
|
+
# Literature, 4th printing, December 2005, ISBN 964-7531-13-3. Available
|
32
|
+
# at http://www.persianacademy.ir/fa/das.aspx
|
33
|
+
#
|
34
|
+
# We are assuming that:
|
35
|
+
# * Most fonts that claim to support an Arabic letter actually do so;
|
36
|
+
# * Most modern text rendering software use OpenType tables, instead of
|
37
|
+
# directly using presentation forms.
|
38
|
+
# * Some good Arabic fonts do not support codepoints for Arabic presentation
|
39
|
+
# forms.
|
40
|
+
# Thus, we are switching to general forms of Arabic letters.
|
41
|
+
#
|
42
|
+
# General forms:
|
43
|
+
0621-0624
|
44
|
+
0626-0628
|
45
|
+
0629 # TEH MARBUTA, implicitly considered mandatory in the official orthography
|
46
|
+
062a-063a
|
47
|
+
0641-0642
|
48
|
+
0644-0648
|
49
|
+
064b # FATHATAN, considered mandatory in the official orthography
|
50
|
+
# 064b-064d # DAMMATAN and KASRATAN, considered mandatory in the official orthography, but very rare
|
51
|
+
# 064e-0650 # FATHA, DAMMA, and KASRA, not mandataroy in the official orthography
|
52
|
+
# 0651 # SHADDA, considered mandatory only for legal texts
|
53
|
+
# 0652 # SUKUN, not mandatory in the official orthography
|
54
|
+
0654 # HAMZA ABOVE, considered mandatory in the official orthography
|
55
|
+
# 0656 # SUBSCRIPT ALEF, not mentioned in official orthography, but sometimes used
|
56
|
+
# 0670 # SUPERSCRIPT ALEF, not explicilty listed in the official orthography, although used in the document; not mandatory
|
57
|
+
067e
|
58
|
+
0686
|
59
|
+
0698
|
60
|
+
06a9
|
61
|
+
06af
|
62
|
+
06cc
|
63
|
+
# Presentations forms:
|
64
|
+
#fb56-fb59
|
65
|
+
#fb7a-fb7d
|
66
|
+
#fb8a-fb8b
|
67
|
+
#fb8e-fb95
|
68
|
+
#fbfc-fbff
|
69
|
+
#fe80-fe86
|
70
|
+
#fe89-fed8
|
71
|
+
#fedd-feee
|
72
|
+
##fef5-fef8 # These four happen very rarely
|
73
|
+
#fefb-fefc
|
@@ -0,0 +1,30 @@
|
|
1
|
+
#
|
2
|
+
# fontconfig/fc-lang/fat.orth
|
3
|
+
#
|
4
|
+
# Copyright © 2009 Roozbeh Pournader
|
5
|
+
#
|
6
|
+
# Permission to use, copy, modify, distribute, and sell this software and its
|
7
|
+
# documentation for any purpose is hereby granted without fee, provided that
|
8
|
+
# the above copyright notice appear in all copies and that both that
|
9
|
+
# copyright notice and this permission notice appear in supporting
|
10
|
+
# documentation, and that the name of the author(s) not be used in
|
11
|
+
# advertising or publicity pertaining to distribution of the software without
|
12
|
+
# specific, written prior permission. The author(s) make(s) no
|
13
|
+
# representations about the suitability of this software for any purpose. It
|
14
|
+
# is provided "as is" without express or implied warranty.
|
15
|
+
#
|
16
|
+
# THE AUTHOR(S) DISCLAIM(S) ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
17
|
+
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
18
|
+
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
19
|
+
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
20
|
+
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
21
|
+
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
22
|
+
# PERFORMANCE OF THIS SOFTWARE.
|
23
|
+
#
|
24
|
+
# Fanti (fat)
|
25
|
+
#
|
26
|
+
# According to ISO 639-3, Akan is a macro-language of Twi and Fanti.
|
27
|
+
# Information on the web indicates Twi and Fanti now have a unified
|
28
|
+
# orthography. We include Twi.
|
29
|
+
#
|
30
|
+
include tw.orth
|
@@ -0,0 +1,595 @@
|
|
1
|
+
/*
|
2
|
+
* fontconfig/fc-lang/fc-lang.c
|
3
|
+
*
|
4
|
+
* Copyright © 2002 Keith Packard
|
5
|
+
*
|
6
|
+
* Permission to use, copy, modify, distribute, and sell this software and its
|
7
|
+
* documentation for any purpose is hereby granted without fee, provided that
|
8
|
+
* the above copyright notice appear in all copies and that both that
|
9
|
+
* copyright notice and this permission notice appear in supporting
|
10
|
+
* documentation, and that the name of the author(s) not be used in
|
11
|
+
* advertising or publicity pertaining to distribution of the software without
|
12
|
+
* specific, written prior permission. The authors make no
|
13
|
+
* representations about the suitability of this software for any purpose. It
|
14
|
+
* is provided "as is" without express or implied warranty.
|
15
|
+
*
|
16
|
+
* THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
17
|
+
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
18
|
+
* EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
19
|
+
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
20
|
+
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
21
|
+
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
22
|
+
* PERFORMANCE OF THIS SOFTWARE.
|
23
|
+
*/
|
24
|
+
|
25
|
+
#include "fccharset.c"
|
26
|
+
#include "fcstr.c"
|
27
|
+
#include "fcserialize.c"
|
28
|
+
|
29
|
+
/*
|
30
|
+
* fc-lang
|
31
|
+
*
|
32
|
+
* Read a set of language orthographies and build C declarations for
|
33
|
+
* charsets which can then be used to identify which languages are
|
34
|
+
* supported by a given font. Note that this uses some utilities
|
35
|
+
* from the fontconfig library, so the necessary file is simply
|
36
|
+
* included in this compilation. A couple of extra utility
|
37
|
+
* functions are also needed in slightly modified form
|
38
|
+
*/
|
39
|
+
|
40
|
+
FcPrivate void
|
41
|
+
FcCacheObjectReference (void *object FC_UNUSED)
|
42
|
+
{
|
43
|
+
}
|
44
|
+
|
45
|
+
FcPrivate void
|
46
|
+
FcCacheObjectDereference (void *object FC_UNUSED)
|
47
|
+
{
|
48
|
+
}
|
49
|
+
|
50
|
+
FcPrivate FcChar8 *
|
51
|
+
FcLangNormalize (const FcChar8 *lang FC_UNUSED)
|
52
|
+
{
|
53
|
+
return NULL;
|
54
|
+
}
|
55
|
+
|
56
|
+
int FcDebugVal;
|
57
|
+
|
58
|
+
FcChar8 *
|
59
|
+
FcConfigHome (void)
|
60
|
+
{
|
61
|
+
return (FcChar8 *) getenv ("HOME");
|
62
|
+
}
|
63
|
+
|
64
|
+
static void
|
65
|
+
fatal (const char *file, int lineno, const char *msg)
|
66
|
+
{
|
67
|
+
if (lineno)
|
68
|
+
fprintf (stderr, "%s:%d: %s\n", file, lineno, msg);
|
69
|
+
else
|
70
|
+
fprintf (stderr, "%s: %s\n", file, msg);
|
71
|
+
exit (1);
|
72
|
+
}
|
73
|
+
|
74
|
+
static char *
|
75
|
+
get_line (FILE *f, char *buf, int *lineno)
|
76
|
+
{
|
77
|
+
char *hash;
|
78
|
+
char *line;
|
79
|
+
int end;
|
80
|
+
|
81
|
+
next:
|
82
|
+
line = buf;
|
83
|
+
if (!fgets (line, 1024, f))
|
84
|
+
return 0;
|
85
|
+
++(*lineno);
|
86
|
+
hash = strchr (line, '#');
|
87
|
+
if (hash)
|
88
|
+
*hash = '\0';
|
89
|
+
|
90
|
+
while (line[0] && isspace (line[0]))
|
91
|
+
line++;
|
92
|
+
end = strlen (line);
|
93
|
+
while (end > 0 && isspace (line[end-1]))
|
94
|
+
line[--end] = '\0';
|
95
|
+
|
96
|
+
if (line[0] == '\0' || line[0] == '\n' || line[0] == '\r')
|
97
|
+
goto next;
|
98
|
+
|
99
|
+
return line;
|
100
|
+
}
|
101
|
+
|
102
|
+
static char *dir = 0;
|
103
|
+
|
104
|
+
static FILE *
|
105
|
+
scanopen (char *file)
|
106
|
+
{
|
107
|
+
FILE *f;
|
108
|
+
|
109
|
+
f = fopen (file, "r");
|
110
|
+
if (!f && dir)
|
111
|
+
{
|
112
|
+
char path[1024];
|
113
|
+
|
114
|
+
strcpy (path, dir);
|
115
|
+
strcat (path, "/");
|
116
|
+
strcat (path, file);
|
117
|
+
f = fopen (path, "r");
|
118
|
+
}
|
119
|
+
return f;
|
120
|
+
}
|
121
|
+
|
122
|
+
/*
|
123
|
+
* build a single charset from a source file
|
124
|
+
*
|
125
|
+
* The file format is quite simple, either
|
126
|
+
* a single hex value or a pair separated with a dash
|
127
|
+
*
|
128
|
+
* Comments begin with '#'
|
129
|
+
*/
|
130
|
+
|
131
|
+
static FcCharSet *
|
132
|
+
scan (FILE *f, char *file, FcCharSetFreezer *freezer)
|
133
|
+
{
|
134
|
+
FcCharSet *c = 0;
|
135
|
+
FcCharSet *n;
|
136
|
+
FcBool del;
|
137
|
+
int start, end, ucs4;
|
138
|
+
char buf[1024];
|
139
|
+
char *line;
|
140
|
+
int lineno = 0;
|
141
|
+
|
142
|
+
while ((line = get_line (f, buf, &lineno)))
|
143
|
+
{
|
144
|
+
if (!strncmp (line, "include", 7))
|
145
|
+
{
|
146
|
+
FILE *included_f;
|
147
|
+
char *included_file;
|
148
|
+
included_file = strchr (line, ' ');
|
149
|
+
if (!included_file)
|
150
|
+
fatal (file, lineno,
|
151
|
+
"invalid syntax, expected: include filename");
|
152
|
+
while (isspace(*included_file))
|
153
|
+
included_file++;
|
154
|
+
included_f = scanopen (included_file);
|
155
|
+
if (!included_f)
|
156
|
+
fatal (included_file, 0, "can't open");
|
157
|
+
n = scan (included_f, included_file, freezer);
|
158
|
+
fclose (included_f);
|
159
|
+
if (!c)
|
160
|
+
c = FcCharSetCreate ();
|
161
|
+
if (!FcCharSetMerge (c, n, NULL))
|
162
|
+
fatal (file, lineno, "out of memory");
|
163
|
+
FcCharSetDestroy (n);
|
164
|
+
continue;
|
165
|
+
}
|
166
|
+
del = FcFalse;
|
167
|
+
if (line[0] == '-')
|
168
|
+
{
|
169
|
+
del = FcTrue;
|
170
|
+
line++;
|
171
|
+
}
|
172
|
+
if (strchr (line, '-'))
|
173
|
+
{
|
174
|
+
if (sscanf (line, "%x-%x", &start, &end) != 2)
|
175
|
+
fatal (file, lineno, "parse error");
|
176
|
+
}
|
177
|
+
else if (strstr (line, ".."))
|
178
|
+
{
|
179
|
+
if (sscanf (line, "%x..%x", &start, &end) != 2)
|
180
|
+
fatal (file, lineno, "parse error");
|
181
|
+
}
|
182
|
+
else
|
183
|
+
{
|
184
|
+
if (sscanf (line, "%x", &start) != 1)
|
185
|
+
fatal (file, lineno, "parse error");
|
186
|
+
end = start;
|
187
|
+
}
|
188
|
+
if (!c)
|
189
|
+
c = FcCharSetCreate ();
|
190
|
+
for (ucs4 = start; ucs4 <= end; ucs4++)
|
191
|
+
{
|
192
|
+
if (!((del ? FcCharSetDelChar : FcCharSetAddChar) (c, ucs4)))
|
193
|
+
fatal (file, lineno, "out of memory");
|
194
|
+
}
|
195
|
+
}
|
196
|
+
n = (FcCharSet *) FcCharSetFreeze (freezer, c);
|
197
|
+
FcCharSetDestroy (c);
|
198
|
+
return n;
|
199
|
+
}
|
200
|
+
|
201
|
+
/*
|
202
|
+
* Convert a file name into a name suitable for C declarations
|
203
|
+
*/
|
204
|
+
static char *
|
205
|
+
get_name (char *file)
|
206
|
+
{
|
207
|
+
char *name;
|
208
|
+
char *dot;
|
209
|
+
|
210
|
+
dot = strchr (file, '.');
|
211
|
+
if (!dot)
|
212
|
+
dot = file + strlen(file);
|
213
|
+
name = malloc (dot - file + 1);
|
214
|
+
strncpy (name, file, dot - file);
|
215
|
+
name[dot-file] = '\0';
|
216
|
+
return name;
|
217
|
+
}
|
218
|
+
|
219
|
+
/*
|
220
|
+
* Convert a C name into a language name
|
221
|
+
*/
|
222
|
+
static char *
|
223
|
+
get_lang (char *name)
|
224
|
+
{
|
225
|
+
char *lang = malloc (strlen (name) + 1);
|
226
|
+
char *l = lang;
|
227
|
+
char c;
|
228
|
+
|
229
|
+
while ((c = *name++))
|
230
|
+
{
|
231
|
+
if (isupper ((int) (unsigned char) c))
|
232
|
+
c = tolower ((int) (unsigned char) c);
|
233
|
+
if (c == '_')
|
234
|
+
c = '-';
|
235
|
+
if (c == ' ')
|
236
|
+
continue;
|
237
|
+
*l++ = c;
|
238
|
+
}
|
239
|
+
*l++ = '\0';
|
240
|
+
return lang;
|
241
|
+
}
|
242
|
+
|
243
|
+
typedef struct _Entry {
|
244
|
+
int id;
|
245
|
+
char *file;
|
246
|
+
} Entry;
|
247
|
+
|
248
|
+
static int compare (const void *a, const void *b)
|
249
|
+
{
|
250
|
+
const Entry *as = a, *bs = b;
|
251
|
+
return FcStrCmpIgnoreCase ((const FcChar8 *) as->file, (const FcChar8 *) bs->file);
|
252
|
+
}
|
253
|
+
|
254
|
+
#define MAX_LANG 1024
|
255
|
+
#define MAX_LANG_SET_MAP ((MAX_LANG + 31) / 32)
|
256
|
+
|
257
|
+
#define BitSet(map, i) ((map)[(entries[i].id)>>5] |= ((FcChar32) 1 << ((entries[i].id) & 0x1f)))
|
258
|
+
|
259
|
+
int
|
260
|
+
main (int argc FC_UNUSED, char **argv)
|
261
|
+
{
|
262
|
+
static Entry entries[MAX_LANG + 1];
|
263
|
+
static FcCharSet *sets[MAX_LANG];
|
264
|
+
static int duplicate[MAX_LANG];
|
265
|
+
static int country[MAX_LANG];
|
266
|
+
static char *names[MAX_LANG];
|
267
|
+
static char *langs[MAX_LANG];
|
268
|
+
static int off[MAX_LANG];
|
269
|
+
FILE *f;
|
270
|
+
int ncountry = 0;
|
271
|
+
int i = 0;
|
272
|
+
int nsets = 0;
|
273
|
+
int argi;
|
274
|
+
FcCharLeaf **leaves;
|
275
|
+
int total_leaves = 0;
|
276
|
+
int l, sl, tl, tn;
|
277
|
+
static char line[1024];
|
278
|
+
static FcChar32 map[MAX_LANG_SET_MAP];
|
279
|
+
int num_lang_set_map;
|
280
|
+
int setRangeStart[26];
|
281
|
+
int setRangeEnd[26];
|
282
|
+
FcChar8 setRangeChar;
|
283
|
+
FcCharSetFreezer *freezer;
|
284
|
+
|
285
|
+
freezer = FcCharSetFreezerCreate ();
|
286
|
+
if (!freezer)
|
287
|
+
fatal (argv[0], 0, "out of memory");
|
288
|
+
argi = 1;
|
289
|
+
while (argv[argi])
|
290
|
+
{
|
291
|
+
if (!strcmp (argv[argi], "-d"))
|
292
|
+
{
|
293
|
+
argi++;
|
294
|
+
dir = argv[argi++];
|
295
|
+
continue;
|
296
|
+
}
|
297
|
+
if (i == MAX_LANG)
|
298
|
+
fatal (argv[0], 0, "Too many languages");
|
299
|
+
entries[i].id = i;
|
300
|
+
entries[i].file = argv[argi++];
|
301
|
+
i++;
|
302
|
+
}
|
303
|
+
entries[i].file = 0;
|
304
|
+
qsort (entries, i, sizeof (Entry), compare);
|
305
|
+
i = 0;
|
306
|
+
while (entries[i].file)
|
307
|
+
{
|
308
|
+
f = scanopen (entries[i].file);
|
309
|
+
if (!f)
|
310
|
+
fatal (entries[i].file, 0, strerror (errno));
|
311
|
+
sets[i] = scan (f, entries[i].file, freezer);
|
312
|
+
names[i] = get_name (entries[i].file);
|
313
|
+
langs[i] = get_lang(names[i]);
|
314
|
+
if (strchr (langs[i], '-'))
|
315
|
+
country[ncountry++] = i;
|
316
|
+
|
317
|
+
total_leaves += sets[i]->num;
|
318
|
+
i++;
|
319
|
+
fclose (f);
|
320
|
+
}
|
321
|
+
nsets = i;
|
322
|
+
sets[i] = 0;
|
323
|
+
leaves = malloc (total_leaves * sizeof (FcCharLeaf *));
|
324
|
+
tl = 0;
|
325
|
+
/*
|
326
|
+
* Find unique leaves
|
327
|
+
*/
|
328
|
+
for (i = 0; sets[i]; i++)
|
329
|
+
{
|
330
|
+
for (sl = 0; sl < sets[i]->num; sl++)
|
331
|
+
{
|
332
|
+
for (l = 0; l < tl; l++)
|
333
|
+
if (leaves[l] == FcCharSetLeaf(sets[i], sl))
|
334
|
+
break;
|
335
|
+
if (l == tl)
|
336
|
+
leaves[tl++] = FcCharSetLeaf(sets[i], sl);
|
337
|
+
}
|
338
|
+
}
|
339
|
+
|
340
|
+
/*
|
341
|
+
* Scan the input until the marker is found
|
342
|
+
*/
|
343
|
+
|
344
|
+
while (fgets (line, sizeof (line), stdin))
|
345
|
+
{
|
346
|
+
if (!strncmp (line, "@@@", 3))
|
347
|
+
break;
|
348
|
+
fputs (line, stdout);
|
349
|
+
}
|
350
|
+
|
351
|
+
printf ("/* total size: %d unique leaves: %d */\n\n",
|
352
|
+
total_leaves, tl);
|
353
|
+
|
354
|
+
/*
|
355
|
+
* Find duplicate charsets
|
356
|
+
*/
|
357
|
+
duplicate[0] = -1;
|
358
|
+
for (i = 1; sets[i]; i++)
|
359
|
+
{
|
360
|
+
int j;
|
361
|
+
|
362
|
+
duplicate[i] = -1;
|
363
|
+
for (j = 0; j < i; j++)
|
364
|
+
if (sets[j] == sets[i])
|
365
|
+
{
|
366
|
+
duplicate[i] = j;
|
367
|
+
break;
|
368
|
+
}
|
369
|
+
}
|
370
|
+
|
371
|
+
tn = 0;
|
372
|
+
for (i = 0; sets[i]; i++) {
|
373
|
+
if (duplicate[i] >= 0)
|
374
|
+
continue;
|
375
|
+
off[i] = tn;
|
376
|
+
tn += sets[i]->num;
|
377
|
+
}
|
378
|
+
|
379
|
+
printf ("#define LEAF0 (%d * sizeof (FcLangCharSet))\n", nsets);
|
380
|
+
printf ("#define OFF0 (LEAF0 + %d * sizeof (FcCharLeaf))\n", tl);
|
381
|
+
printf ("#define NUM0 (OFF0 + %d * sizeof (uintptr_t))\n", tn);
|
382
|
+
printf ("#define SET(n) (n * sizeof (FcLangCharSet) + offsetof (FcLangCharSet, charset))\n");
|
383
|
+
printf ("#define OFF(s,o) (OFF0 + o * sizeof (uintptr_t) - SET(s))\n");
|
384
|
+
printf ("#define NUM(s,n) (NUM0 + n * sizeof (FcChar16) - SET(s))\n");
|
385
|
+
printf ("#define LEAF(o,l) (LEAF0 + l * sizeof (FcCharLeaf) - (OFF0 + o * sizeof (intptr_t)))\n");
|
386
|
+
printf ("#define fcLangCharSets (fcLangData.langCharSets)\n");
|
387
|
+
printf ("#define fcLangCharSetIndices (fcLangData.langIndices)\n");
|
388
|
+
printf ("#define fcLangCharSetIndicesInv (fcLangData.langIndicesInv)\n");
|
389
|
+
printf ("\n");
|
390
|
+
|
391
|
+
printf ("static const struct {\n"
|
392
|
+
" FcLangCharSet langCharSets[%d];\n"
|
393
|
+
" FcCharLeaf leaves[%d];\n"
|
394
|
+
" uintptr_t leaf_offsets[%d];\n"
|
395
|
+
" FcChar16 numbers[%d];\n"
|
396
|
+
" FcChar%s langIndices[%d];\n"
|
397
|
+
" FcChar%s langIndicesInv[%d];\n"
|
398
|
+
"} fcLangData = {\n",
|
399
|
+
nsets, tl, tn, tn,
|
400
|
+
nsets < 256 ? "8 " : "16", nsets, nsets < 256 ? "8 " : "16", nsets);
|
401
|
+
|
402
|
+
/*
|
403
|
+
* Dump sets
|
404
|
+
*/
|
405
|
+
|
406
|
+
printf ("{\n");
|
407
|
+
for (i = 0; sets[i]; i++)
|
408
|
+
{
|
409
|
+
int j = duplicate[i];
|
410
|
+
|
411
|
+
if (j < 0)
|
412
|
+
j = i;
|
413
|
+
|
414
|
+
printf (" { \"%s\", "
|
415
|
+
" { FC_REF_CONSTANT, %d, OFF(%d,%d), NUM(%d,%d) } }, /* %d */\n",
|
416
|
+
langs[i],
|
417
|
+
sets[j]->num, i, off[j], i, off[j], i);
|
418
|
+
}
|
419
|
+
printf ("},\n");
|
420
|
+
|
421
|
+
/*
|
422
|
+
* Dump leaves
|
423
|
+
*/
|
424
|
+
printf ("{\n");
|
425
|
+
for (l = 0; l < tl; l++)
|
426
|
+
{
|
427
|
+
printf (" { { /* %d */", l);
|
428
|
+
for (i = 0; i < 256/32; i++)
|
429
|
+
{
|
430
|
+
if (i % 4 == 0)
|
431
|
+
printf ("\n ");
|
432
|
+
printf (" 0x%08x,", leaves[l]->map[i]);
|
433
|
+
}
|
434
|
+
printf ("\n } },\n");
|
435
|
+
}
|
436
|
+
printf ("},\n");
|
437
|
+
|
438
|
+
/*
|
439
|
+
* Dump leaves
|
440
|
+
*/
|
441
|
+
printf ("{\n");
|
442
|
+
for (i = 0; sets[i]; i++)
|
443
|
+
{
|
444
|
+
int n;
|
445
|
+
|
446
|
+
if (duplicate[i] >= 0)
|
447
|
+
continue;
|
448
|
+
printf (" /* %s */\n", names[i]);
|
449
|
+
for (n = 0; n < sets[i]->num; n++)
|
450
|
+
{
|
451
|
+
if (n % 4 == 0)
|
452
|
+
printf (" ");
|
453
|
+
for (l = 0; l < tl; l++)
|
454
|
+
if (leaves[l] == FcCharSetLeaf(sets[i], n))
|
455
|
+
break;
|
456
|
+
if (l == tl)
|
457
|
+
fatal (names[i], 0, "can't find leaf");
|
458
|
+
printf (" LEAF(%3d,%3d),", off[i], l);
|
459
|
+
if (n % 4 == 3)
|
460
|
+
printf ("\n");
|
461
|
+
}
|
462
|
+
if (n % 4 != 0)
|
463
|
+
printf ("\n");
|
464
|
+
}
|
465
|
+
printf ("},\n");
|
466
|
+
|
467
|
+
|
468
|
+
printf ("{\n");
|
469
|
+
for (i = 0; sets[i]; i++)
|
470
|
+
{
|
471
|
+
int n;
|
472
|
+
|
473
|
+
if (duplicate[i] >= 0)
|
474
|
+
continue;
|
475
|
+
printf (" /* %s */\n", names[i]);
|
476
|
+
for (n = 0; n < sets[i]->num; n++)
|
477
|
+
{
|
478
|
+
if (n % 8 == 0)
|
479
|
+
printf (" ");
|
480
|
+
printf (" 0x%04x,", FcCharSetNumbers (sets[i])[n]);
|
481
|
+
if (n % 8 == 7)
|
482
|
+
printf ("\n");
|
483
|
+
}
|
484
|
+
if (n % 8 != 0)
|
485
|
+
printf ("\n");
|
486
|
+
}
|
487
|
+
printf ("},\n");
|
488
|
+
|
489
|
+
/* langIndices */
|
490
|
+
printf ("{\n");
|
491
|
+
for (i = 0; sets[i]; i++)
|
492
|
+
{
|
493
|
+
printf (" %d, /* %s */\n", entries[i].id, names[i]);
|
494
|
+
}
|
495
|
+
printf ("},\n");
|
496
|
+
|
497
|
+
/* langIndicesInv */
|
498
|
+
printf ("{\n");
|
499
|
+
{
|
500
|
+
static int entries_inv[MAX_LANG];
|
501
|
+
for (i = 0; sets[i]; i++)
|
502
|
+
entries_inv[entries[i].id] = i;
|
503
|
+
for (i = 0; sets[i]; i++)
|
504
|
+
printf (" %d, /* %s */\n", entries_inv[i], names[entries_inv[i]]);
|
505
|
+
}
|
506
|
+
printf ("}\n");
|
507
|
+
|
508
|
+
printf ("};\n\n");
|
509
|
+
|
510
|
+
printf ("#define NUM_LANG_CHAR_SET %d\n", i);
|
511
|
+
num_lang_set_map = (i + 31) / 32;
|
512
|
+
printf ("#define NUM_LANG_SET_MAP %d\n", num_lang_set_map);
|
513
|
+
/*
|
514
|
+
* Dump indices with country codes
|
515
|
+
*/
|
516
|
+
if (ncountry)
|
517
|
+
{
|
518
|
+
int c;
|
519
|
+
int ncountry_ent = 0;
|
520
|
+
printf ("\n");
|
521
|
+
printf ("static const FcChar32 fcLangCountrySets[][NUM_LANG_SET_MAP] = {\n");
|
522
|
+
for (c = 0; c < ncountry; c++)
|
523
|
+
{
|
524
|
+
i = country[c];
|
525
|
+
if (i >= 0)
|
526
|
+
{
|
527
|
+
int lang = strchr (langs[i], '-') - langs[i];
|
528
|
+
int d, k;
|
529
|
+
|
530
|
+
for (k = 0; k < num_lang_set_map; k++)
|
531
|
+
map[k] = 0;
|
532
|
+
|
533
|
+
BitSet (map, i);
|
534
|
+
for (d = c + 1; d < ncountry; d++)
|
535
|
+
{
|
536
|
+
int j = country[d];
|
537
|
+
if (j >= 0 && !strncmp (langs[j], langs[i], lang + 1))
|
538
|
+
{
|
539
|
+
BitSet(map, j);
|
540
|
+
country[d] = -1;
|
541
|
+
}
|
542
|
+
}
|
543
|
+
printf (" {");
|
544
|
+
for (k = 0; k < num_lang_set_map; k++)
|
545
|
+
printf (" 0x%08x,", map[k]);
|
546
|
+
printf (" }, /* %*.*s */\n",
|
547
|
+
lang, lang, langs[i]);
|
548
|
+
++ncountry_ent;
|
549
|
+
}
|
550
|
+
}
|
551
|
+
printf ("};\n\n");
|
552
|
+
printf ("#define NUM_COUNTRY_SET %d\n", ncountry_ent);
|
553
|
+
}
|
554
|
+
|
555
|
+
|
556
|
+
/*
|
557
|
+
* Find ranges for each letter for faster searching
|
558
|
+
*/
|
559
|
+
setRangeChar = 'a';
|
560
|
+
memset(setRangeStart, '\0', sizeof (setRangeStart));
|
561
|
+
memset(setRangeEnd, '\0', sizeof (setRangeEnd));
|
562
|
+
for (i = 0; sets[i]; i++)
|
563
|
+
{
|
564
|
+
char c = names[i][0];
|
565
|
+
|
566
|
+
while (setRangeChar <= c && c <= 'z')
|
567
|
+
setRangeStart[setRangeChar++ - 'a'] = i;
|
568
|
+
}
|
569
|
+
while (setRangeChar <= 'z') /* no language code starts with these letters */
|
570
|
+
setRangeStart[setRangeChar++ - 'a'] = i;
|
571
|
+
|
572
|
+
for (setRangeChar = 'a'; setRangeChar < 'z'; setRangeChar++)
|
573
|
+
setRangeEnd[setRangeChar - 'a'] = setRangeStart[setRangeChar+1-'a'] - 1;
|
574
|
+
setRangeEnd[setRangeChar - 'a'] = i - 1;
|
575
|
+
|
576
|
+
/*
|
577
|
+
* Dump sets start/finish for the fastpath
|
578
|
+
*/
|
579
|
+
printf ("\n");
|
580
|
+
printf ("static const FcLangCharSetRange fcLangCharSetRanges[] = {\n");
|
581
|
+
printf ("\n");
|
582
|
+
for (setRangeChar = 'a'; setRangeChar <= 'z' ; setRangeChar++)
|
583
|
+
{
|
584
|
+
printf (" { %d, %d }, /* %c */\n",
|
585
|
+
setRangeStart[setRangeChar - 'a'],
|
586
|
+
setRangeEnd[setRangeChar - 'a'], setRangeChar);
|
587
|
+
}
|
588
|
+
printf ("};\n\n");
|
589
|
+
|
590
|
+
while (fgets (line, sizeof (line), stdin))
|
591
|
+
fputs (line, stdout);
|
592
|
+
|
593
|
+
fflush (stdout);
|
594
|
+
exit (ferror (stdout));
|
595
|
+
}
|