summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/fonts-tlwg/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/fonts/fonts-tlwg/scripts')
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/Makefile.am6
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/Makefile.in328
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/engkernpairs.txt304
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-otf.pe7
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-pfa.pe2
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-pfb.pe2
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-otf.pe8
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-pfa.pe3
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-pfb.pe3
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-ttf.pe6
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-ttf.pe6
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen.mk.am71
-rw-r--r--Master/texmf-dist/source/fonts/fonts-tlwg/scripts/thaikernpairs.txt95
13 files changed, 841 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/Makefile.am b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/Makefile.am
new file mode 100644
index 00000000000..e5da6d2b8f0
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/Makefile.am
@@ -0,0 +1,6 @@
+MAINTAINERCLEANFILES = Makefile.in
+
+EXTRA_DIST = gen-ttf.pe gen-pfa.pe gen-pfb.pe gen-otf.pe gen.mk.am \
+ gen-test-ttf.pe gen-test-pfa.pe gen-test-pfb.pe gen-test-otf.pe \
+ engkernpairs.txt thaikernpairs.txt
+
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/Makefile.in b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/Makefile.in
new file mode 100644
index 00000000000..bb8d0600db9
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/Makefile.in
@@ -0,0 +1,328 @@
+# Makefile.in generated by automake 1.11.3 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
+# Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+subdir = scripts
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+SOURCES =
+DIST_SOURCES =
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AFM2TFM = @AFM2TFM@
+AMTAR = @AMTAR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+FCCACHE = @FCCACHE@
+FONTFORGE = @FONTFORGE@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LATEX_PACKAGE = @LATEX_PACKAGE@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAKEINFO = @MAKEINFO@
+MKDIR_P = @MKDIR_P@
+MKFONTDIR = @MKFONTDIR@
+MKFONTSCALE = @MKFONTSCALE@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+RMDIR = @RMDIR@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+TEXHASH = @TEXHASH@
+TTMKFDIR = @TTMKFDIR@
+TYPE1INST = @TYPE1INST@
+UPDMAP = @UPDMAP@
+VERSION = @VERSION@
+VPTOVF = @VPTOVF@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+am__leading_dot = @am__leading_dot@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+builddir = @builddir@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+otfdir = @otfdir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+testfontdir = @testfontdir@
+texmfdir = @texmfdir@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+ttfdir = @ttfdir@
+type1dir = @type1dir@
+MAINTAINERCLEANFILES = Makefile.in
+EXTRA_DIST = gen-ttf.pe gen-pfa.pe gen-pfb.pe gen-otf.pe gen.mk.am \
+ gen-test-ttf.pe gen-test-pfa.pe gen-test-pfb.pe gen-test-otf.pe \
+ engkernpairs.txt thaikernpairs.txt
+
+all: all-am
+
+.SUFFIXES:
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu scripts/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --gnu scripts/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+tags: TAGS
+TAGS:
+
+ctags: CTAGS
+CTAGS:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile
+installdirs:
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+ -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
+clean: clean-am
+
+clean-am: clean-generic mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am:
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am:
+
+.MAKE: install-am install-strip
+
+.PHONY: all all-am check check-am clean clean-generic distclean \
+ distclean-generic distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
+
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/engkernpairs.txt b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/engkernpairs.txt
new file mode 100644
index 00000000000..9e47945e48a
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/engkernpairs.txt
@@ -0,0 +1,304 @@
+#This set of kernpairs is taken from Adobe Technical Note # 5091
+# Designing Multiple Master Fonts
+# Appendix E (page 69)
+#There were some typoes in the original. I've sometimes tried to guess what
+# was meant, other times just ignored it. I've probably made some typoes myself
+#PfaEdit will not produce a meaningful kerning pair with a space character.
+# and will probably fail on combinations like "r'" if the "'"'s bottom is
+# above the top of "r".
+
+#Format for this file:
+# The file may be in either Latin1 or UCS2. If in UCS2 it must begin with
+# the byte order character U+FEFF.
+# There must be exactly two characters on each line for it to be treated as
+# a kerning pair (otherwise it is treated as a comment).
+# A character may be represented either by itself or by its unicode value as
+# U+xxxx. Thus "To" could be represented as "TU+006f" or "U+0054o" or
+# "U+0054U+006F".
+
+#NOTE: Establishing a kerning pair for e does not establish a matching pair
+# for its accented varients. Each must be handled individually.
+
+AC
+AG
+AO
+AQ
+AT
+AU
+AV
+AW
+AY
+#Ap
+#Au
+Av
+Aw
+Ay
+A"
+A'
+AU+201d
+AU+2019
+#BA
+#B,
+#B.
+#CA
+#C.
+#C,
+DA
+DV
+DW
+DY
+D.
+D,
+FA
+Fa
+#Fe
+#Fi
+#Fo
+#Fr
+F.
+F,
+G.
+G,
+JA
+Ja
+Je
+Jo
+Ju
+J,
+J.
+KO
+#Ke
+#Ko
+#Ku
+Ky
+LT
+LV
+LW
+LY
+Ly
+L"
+L'
+LU+201d
+LU+2019
+NA
+N.
+N,
+OA
+#OT
+OV
+OW
+OX
+OY
+O,
+O.
+PA
+#Pa
+#Pe
+#Po
+P,
+P.
+QU
+#Q,
+Q.
+RO
+RT
+RU
+RV
+RW
+Ry
+#S,
+#S.
+TA
+#TO
+Ta
+Te
+#Th
+#Ti
+To
+Tr
+Tu
+Tw
+Ty
+#T:
+#T;
+T-
+T,
+T.
+UA
+U.
+U,
+VA
+VG
+VO
+Va
+Ve
+#Vi
+Vo
+Vu
+V:
+V;
+V-
+V,
+V.
+WA
+WO
+Wa
+We
+#Wh
+#Wi
+Wo
+Wu
+Wy
+W:
+W;
+W-
+W,
+W.
+YA
+YO
+#YS
+Ya
+Ye
+#Yi
+Yo
+Yu
+Y:
+Y;
+Y-
+Y,
+Y.
+#ab
+#ag
+#ap
+#at
+av
+aw
+ay
+#bb
+#bl
+#bu
+#bv
+#by
+#b,
+#b.
+#ch
+#ck
+#cl
+#cy
+#c,
+#c.
+#dd
+#dv
+#dw
+#dy
+#eb
+#eg
+#ep
+#ev
+#ew
+#ex
+#ey
+#e,
+#e.
+fa
+fe
+ff
+fi
+#fl
+fo
+ft
+#f"
+#f'
+#fU+201d
+#fU+2019
+f,
+f.
+#ga
+#ge
+#gg
+#gi
+#go
+#gr
+#gy
+#g,
+#g.
+#hy
+#iv
+#ke
+#ko
+#ky
+#lw
+#ly
+#mu
+#my
+#nu
+#ny
+#og
+#ov
+#ow
+#ox
+#oy
+#o,
+#o.
+#py
+#p,
+#p.
+#ra
+#rc
+#rd
+#re
+#rg
+#ri
+rk
+rl
+#rm
+#rn
+#ro
+#rp
+#rq
+#rr
+#rs
+#rt
+#ru
+#rv
+#ry
+#r:
+#r;
+r-
+r,
+r.
+#sw
+#s,
+#s.
+#va
+#ve
+#vo
+v,
+v.
+#wa
+#we
+#wh
+#wo
+w,
+w.
+#xe
+#ya
+#ye
+#yo
+y,
+y.
+#ze
+#zo
+,"
+,'
+"A
+'A
+U+201cA
+U+2018A
+#'d
+#'l
+#'r
+#'s
+#'t
+#'v
+
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-otf.pe b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-otf.pe
new file mode 100644
index 00000000000..42462d93fe0
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-otf.pe
@@ -0,0 +1,7 @@
+Open($1)
+Select(0uf701,0uf704)
+SelectMore(0uf705,0uf709)
+SelectMore(0uf710,0uf717)
+SelectMore(0uf718,0uf71A)
+Clear()
+Generate($1:t:r + ".otf")
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-pfa.pe b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-pfa.pe
new file mode 100644
index 00000000000..c9080f7f99c
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-pfa.pe
@@ -0,0 +1,2 @@
+Open($1)
+Generate($1:t:r + ".pfa")
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-pfb.pe b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-pfb.pe
new file mode 100644
index 00000000000..e68c4691f3d
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-pfb.pe
@@ -0,0 +1,2 @@
+Open($1)
+Generate($1:t:r + ".pfb")
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-otf.pe b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-otf.pe
new file mode 100644
index 00000000000..f5555943a33
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-otf.pe
@@ -0,0 +1,8 @@
+Open($1)
+Select(0uf701,0uf704)
+SelectMore(0uf705,0uf709)
+SelectMore(0uf710,0uf717)
+SelectMore(0uf718,0uf71A)
+Clear()
+SetFontNames("OTF"+$fontname, "OTF"+$familyname, "OTF"+$fullname)
+Generate($fontname + ".otf")
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-pfa.pe b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-pfa.pe
new file mode 100644
index 00000000000..114820bbfb7
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-pfa.pe
@@ -0,0 +1,3 @@
+Open($1)
+SetFontNames("PS"+$fontname, "PS"+$familyname, "PS"+$fullname)
+Generate($fontname + ".pfb")
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-pfb.pe b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-pfb.pe
new file mode 100644
index 00000000000..114820bbfb7
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-pfb.pe
@@ -0,0 +1,3 @@
+Open($1)
+SetFontNames("PS"+$fontname, "PS"+$familyname, "PS"+$fullname)
+Generate($fontname + ".pfb")
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-ttf.pe b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-ttf.pe
new file mode 100644
index 00000000000..8bb47341d5e
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-test-ttf.pe
@@ -0,0 +1,6 @@
+Open($1)
+SetFontNames("TTF"+$fontname, "TTF"+$familyname, "TTF"+$fullname)
+SetFontOrder(2)
+SelectAll()
+AutoInstr()
+Generate($fontname + ".ttf")
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-ttf.pe b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-ttf.pe
new file mode 100644
index 00000000000..94e200f9a5b
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen-ttf.pe
@@ -0,0 +1,6 @@
+Open($1)
+SetFontOrder(2)
+SelectAll()
+AutoInstr()
+Generate($1:t:r + ".ttf")
+
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen.mk.am b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen.mk.am
new file mode 100644
index 00000000000..d1c5caaa480
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/gen.mk.am
@@ -0,0 +1,71 @@
+# Makefile.am common part
+#
+# Required variables from configure script:
+# - FONTFORGE
+# The path of fontforge command line
+# - INCLUDE_PFB
+# Condition whether to generate Type 1 fonts
+# - INCLUDE_TTF
+# Condition whether to generate TrueType fonts
+# - INCLUDE_OTF
+# Condition whether to generate OpenType fonts
+# - INCLUDE_TESTFONT
+# Condition whether to generate fonts for testing
+#
+# Required variables from component's Makefile
+# - FONTSOURCES : the list of *.sfd files to use as input
+#
+
+TTFFILES = $(FONTSOURCES:.sfd=.ttf)
+OTFFILES = $(FONTSOURCES:.sfd=.otf)
+AFMFILES = $(FONTSOURCES:.sfd=.afm)
+PFBFILES = $(FONTSOURCES:.sfd=.pfb)
+
+TESTTTFFILES = $(TTFFILES:%.ttf=TTF%.ttf)
+TESTOTFFILES = $(OTFFILES:%.otf=OTF%.otf)
+
+TESTAFMFILES = $(AFMFILES:%.afm=PS%.afm)
+TESTPFBFLES = $(PFBFILES:%.pfb=PS%.pfb)
+TESTTYPE1FILES = $(TESTPFBFILES) $(TESTAFMFILES)
+
+if INCLUDE_PFB
+TYPE1FILES = $(PFBFILES) $(AFMFILES)
+endif
+
+if INCLUDE_TTF
+ttf_DATA = $(TTFFILES)
+endif
+
+if INCLUDE_PFB
+type1_DATA = $(TYPE1FILES)
+endif
+
+if INCLUDE_OTF
+otf_DATA = $(OTFFILES)
+endif
+
+if INCLUDE_TESTFONT
+testfont_DATA = $(TESTTTFFILES) $(TESTTYPE1FILES) $(TESTOTFFILES)
+endif
+
+CLEANFILES = *.ttf *.g2n *.pfb *.afm *.pfm *.otf *.enc *.tfm
+
+SUFFIXES: .sfd .ttf .otf .pfb
+
+TTF%.ttf: %.sfd
+ $(FONTFORGE) -script $(top_srcdir)/scripts/gen-test-ttf.pe $<
+
+OTF%.otf: %.sfd
+ $(FONTFORGE) -script $(top_srcdir)/scripts/gen-test-otf.pe $<
+
+PS%.afm PS%.pfb: %.sfd
+ $(FONTFORGE) -script $(top_srcdir)/scripts/gen-test-pfb.pe $<
+
+%.ttf: %.sfd
+ $(FONTFORGE) -script $(top_srcdir)/scripts/gen-ttf.pe $<
+
+%.otf: %.sfd
+ $(FONTFORGE) -script $(top_srcdir)/scripts/gen-otf.pe $<
+
+%.afm %.pfb: %.sfd
+ $(FONTFORGE) -script $(top_srcdir)/scripts/gen-pfb.pe $<
diff --git a/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/thaikernpairs.txt b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/thaikernpairs.txt
new file mode 100644
index 00000000000..9547a5e48f1
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/fonts-tlwg/scripts/thaikernpairs.txt
@@ -0,0 +1,95 @@
+# Thai kern pairs
+# First created by Theppitak Karoonboonyanan <thep@linux.thai.net>
+
+# Note: no consonants are listed in the left side, because possible
+# intervening upper/lower marks can cancel the kerning and cause
+# inconsistent kerning over different cases.
+
+# Upper-right overshooting marks vs. Upper-left overshooting vowels
+U+f70bU+0e42
+U+f70bU+0e43
+U+f70bU+0e44
+U+f70cU+0e42
+U+f70cU+0e43
+U+f70cU+0e44
+U+f70eU+0e42
+U+f70eU+0e43
+U+f70eU+0e44
+U+0e4eU+0e42
+U+0e4eU+0e43
+U+0e4eU+0e44
+
+# Lower-right overshooting vowels vs. Lower-left overshooting consonants
+U+0e40U+0e0e
+U+0e40U+0e0f
+U+0e40U+0e20
+U+0e41U+0e0e
+U+0e41U+0e0f
+U+0e41U+0e20
+U+0e42U+0e0e
+U+0e42U+0e0f
+U+0e42U+0e20
+U+0e43U+0e0e
+U+0e43U+0e0f
+U+0e43U+0e20
+U+0e44U+0e0e
+U+0e44U+0e0f
+U+0e44U+0e20
+
+# Lower-right overshooting vowels vs. Lower-left spacing consonants
+U+0e40U+0e07
+U+0e40U+0e08
+U+0e40U+0e10
+U+0e40U+0e11
+U+0e40U+0e23
+U+0e40U+0e27
+U+0e41U+0e07
+U+0e41U+0e08
+U+0e41U+0e10
+U+0e41U+0e11
+U+0e41U+0e23
+U+0e41U+0e27
+U+0e42U+0e07
+U+0e42U+0e08
+U+0e42U+0e10
+U+0e42U+0e11
+U+0e42U+0e23
+U+0e42U+0e27
+U+0e43U+0e08
+U+0e44U+0e07
+U+0e44U+0e08
+U+0e44U+0e10
+U+0e44U+0e11
+U+0e44U+0e23
+U+0e44U+0e27
+
+# Lower-right overshooting vowels vs. Lower-left narrow spacing consonants
+U+0e40U+0e09
+U+0e40U+0e17
+U+0e40U+0e19
+U+0e40U+0e1e
+U+0e40U+0e1f
+U+0e40U+0e2b
+U+0e40U+0e2c
+U+0e41U+0e09
+U+0e41U+0e17
+U+0e41U+0e19
+U+0e41U+0e1e
+U+0e41U+0e1f
+U+0e41U+0e2b
+U+0e41U+0e2c
+U+0e42U+0e09
+U+0e42U+0e17
+U+0e42U+0e19
+U+0e42U+0e1e
+U+0e42U+0e1f
+U+0e42U+0e2b
+U+0e42U+0e2c
+U+0e43U+0e19
+U+0e44U+0e09
+U+0e44U+0e17
+U+0e44U+0e19
+U+0e44U+0e1e
+U+0e44U+0e1f
+U+0e44U+0e2b
+U+0e44U+0e2c