latex-cjk-chinese-arphic-1.23/0000755000000000000000000000000012165577231013100 5ustar latex-cjk-chinese-arphic-1.23/debian/0000755000000000000000000000000012165577232014323 5ustar latex-cjk-chinese-arphic-1.23/debian/compat0000644000000000000000000000000211750012266015507 0ustar 9 latex-cjk-chinese-arphic-1.23/debian/control0000644000000000000000000000421012165577232015723 0ustar Source: latex-cjk-chinese-arphic Section: tex Priority: optional Maintainer: Debian TeX maintainers Uploaders: Danai SAE-HAN (韓達耐) , Norbert Preining Build-Depends: debhelper (>= 9) Build-Depends-Indep: aglfn, fontforge (>= 0.0.20050717), tex-common (>= 3), texlive-font-utils (>= 2009-4), fonts-arphic-bsmi00lp, fonts-arphic-bkai00mp, fonts-arphic-gbsn00lp, fonts-arphic-gkai00mp, sharutils Standards-Version: 3.9.4 Vcs-Svn: svn://svn.debian.org/svn/debian-tex/latex-cjk-chinese-arphic/trunk Vcs-Browser: http://svn.debian.org/wsvn/debian-tex/latex-cjk-chinese-arphic/trunk/ Homepage: ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/ Package: latex-cjk-chinese-arphic-bkai00mp Architecture: all Suggests: fonts-arphic-bkai00mp Provides: tfm-arphic-bkai00mp Depends: ${misc:Depends} Description: AR PL KaitiM Big5 fonts for CJK This package installs all necessary fonts (PFB, AFM, TFM, etc.) to get the "AR PL KaitiM Big5" font working with the LaTeX macro "CJK" in local and UTF-8 environments. Package: latex-cjk-chinese-arphic-bsmi00lp Architecture: all Suggests: fonts-arphic-bsmi00lp Provides: tfm-arphic-bsmi00lp Depends: ${misc:Depends} Description: AR PL Mingti2L Big5 fonts for CJK This package installs all necessary fonts (PFB, AFM, TFM, etc.) to get the "AR PL Mingti2L Big5" font working with the LaTeX macro "CJK" in local and UTF-8 environments. Package: latex-cjk-chinese-arphic-gbsn00lp Architecture: all Suggests: fonts-arphic-gbsn00lp Provides: tfm-arphic-gbsn00lp Depends: ${misc:Depends} Description: AR PL SungtiL GB fonts for CJK This package installs all necessary fonts (PFB, AFM, TFM, etc.) to get the "AR PL SungtiL GB" font working with the LaTeX macro "CJK" in local and UTF-8 environments. Package: latex-cjk-chinese-arphic-gkai00mp Architecture: all Suggests: fonts-arphic-gkai00mp Provides: tfm-arphic-gkai00mp Depends: ${misc:Depends} Description: AR PL KaitiM GB fonts for CJK This package installs all necessary fonts (PFB, AFM, TFM, etc.) to get the "AR PL KaitiM GB" font working with the LaTeX macro "CJK" in local and UTF-8 environments. latex-cjk-chinese-arphic-1.23/debian/README.Debian0000644000000000000000000000762412162105061016355 0ustar latex-cjk-chinese-arphic for Debian ----------------------------------- [This part will later be moved to an extra document in latex-cjk-common explaining how to get extra fonts.] Here's a step-by-step explanation what you have to do to obtain GBK fonts to be used with CJK. I assume that you have already installed the Unicode TFM/PFB/AFM/VF fonts with the correct .map files. As example I've taken the Arphic "gkai" font, even though it only contains GB2312. First of all you should install the following packages: latex-cjk-common, texlive-font-utils (>= 2007.dfsg.2), texlive-font-utils, and of course the Arphic TrueType font "ttf-arphic-gkai00mp" (install "ttf-arphic-gbsn00lp" if you want Arphic "gbsn"). We'll build all the subfonts in a separate directory, then download, copy or link all the necessary files and process everything with Fontforge. $ mkdir ~/gkaigbk; cd ~/gkaigbk # Copy all the necessary tools to the current directory. # Make sure you have the `aglfn' package installed. $ sed -e 's/\"aglfn13.txt\"/\"\/usr\/share\/aglfn\/aglfn.txt\"/g' /usr/share/latex-cjk-common/utils/subfonts/makefdx.pl > makefdx.pl $ cp /usr/share/latex-cjk-common/utils/subfonts/{clonevf,uni2sfd}.pl . # If you want vertical glyphs, copy the vertical fonts from the Unicode version. $ cp /usr/share/texmf/fonts/{afm,tfm,type1}/arphic/gkaiu/gkaiu* . $ ln -s /usr/share/fonts/truetype/arphic/gkai00mp.ttf # I'm not sure about the CODINGSCHEME variable in VF; you might try "cjkgbk". $ perl uni2sfd.pl gkaiu /usr/share/texmf-texlive/fonts/sfd/UGBK.sfd gkaigbk cjkgbk # Vertical fonts. $ perl clonevf.pl gkaiuv gkaigbkv # The font definition files for the regular and vertical version. $ perl makefdx.pl gkaiuvr.afm /usr/share/texmf-texlive/fonts/sfd/UGBK.sfd c19gkai.fdx $ echo "% This is the file c19gkai.fd of the CJK package % for using Asian logographs (Chinese/Japanese/Korean) with LaTeX2e % % created for CJK Version 4.7.0 (17-Oct-2006). \def\fileversion{4.7.0} \def\filedate{2006/10/17} \ProvidesFile{c19gkai.fd}[\filedate\space\fileversion] % character set: UGBK % font encoding: UGBK % AR PL KaitiM GB \DeclareFontFamily{C19}{gkai}{\hyphenchar \font\m@ne} \DeclareFontShape{C19}{gkai}{m}{n}{<-> CJK * gkaigbk}{} \DeclareFontShape{C19}{gkai}{bx}{n}{<-> CJKb * gkaigbk}{\CJKbold} \endinput" > c19gkai.fd # Now we'll install the fonts into our personal TEXMF directory, which # is ~/texmf. If you want these fonts to be available for every user # on your computer, install them in /usr/local/share/texmf/ as root. $ mkdir ~/texmf; cd ~/texmf $ mkdir -p fonts/{tfm,vf}/arphic/gkaigbk tex/latex/CJK/GB $ cp ~/gkaigbk/gkaigbk*.tfm fonts/tfm/arphic/gkaigbk/ $ cp ~/gkaigbk/gkaigbk*.vf fonts/vf/arphic/gkaigbk/ $ cp ~/gkaigbk/c19gkai.fd* tex/latex/CJK/GB/ # Update the TeX tree. If you installed the fonts in # /usr/local/share/texmf, run the next command as root. $ mktexlsr Now you can use GBK-encoded LaTeX documents with: \begin{CJK*}{GBK}{gkai} -- Danai SAE-HAN (韓達耐) , Tue, 25 Jun 2013 02:04:33 +0800 If you're switching from tfm-arphic-* to latex-cjk-chinese-arphic-*, please make sure that you also remove *ALL* PK files in your local TEXMF cache directory, which you can find in ~/.texmf-var/fonts/pk/modeless/arphic/ or something similar. -- Danai SAE-HAN (韓達耐) , Sun, 29 Oct 2006 02:07:23 +0100 This package contains fonts in different formats built from Arphic TrueType Fonts, using the fontforge scripts that are provided in the CJK macro for LaTeX. All fonts should appear in xdvi, dvips, dvipdfm(x) and pdflatex directly without the need for ttf2pk. However, xdvi doesn't recognize PS rotation (yet), so vertically written characters will show up horizontally. Run dvips or dvipdfm(x) and view the final result with gv or evince to view the final result. -- Danai SAE-HAN (韓達耐) , Mon, Nov 28 15:22:37 2005 latex-cjk-chinese-arphic-1.23/debian/gbsnuvr.tfm0000644000000000000000000000021411750010341016474 0ustar # FontSpecificAR PL SungtiL GBGlatex-cjk-chinese-arphic-1.23/debian/gbsnuv.tfm0000644000000000000000000000021411750010341016312 0ustar # FontSpecificAR PL SungtiL GBGlatex-cjk-chinese-arphic-1.23/debian/control.stem.in0000644000000000000000000000132612164013335017270 0ustar Source: latex-cjk-chinese-arphic Section: tex Priority: optional Maintainer: Debian TeX maintainers Uploaders: Danai SAE-HAN (韓達耐) , Norbert Preining Build-Depends: debhelper (>= 9) Build-Depends-Indep: aglfn, fontforge (>= 0.0.20050717), tex-common (>= 3), texlive-font-utils (>= 2009-4), fonts-arphic-bsmi00lp, fonts-arphic-bkai00mp, fonts-arphic-gbsn00lp, fonts-arphic-gkai00mp, sharutils Standards-Version: 3.9.4 Vcs-Svn: svn://svn.debian.org/svn/debian-tex/latex-cjk-chinese-arphic/trunk Vcs-Browser: http://svn.debian.org/wsvn/debian-tex/latex-cjk-chinese-arphic/trunk/ Homepage: ftp://ftp.gnu.org/non-gnu/chinese-fonts-truetype/ latex-cjk-chinese-arphic-1.23/debian/latex-cjk-chinese-arphic-bsmi00lp.copyright0000644000000000000000000002031712165577232024446 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: debian/* Copyright: 2005-2013 Danai SAE-HAN (韓達耐) License: GPL-2+ Files: debian/{gbsn,gkai}* Copyright: 1999 Arphic Technolocy Co., Ltd. License: ARPHIC PUBLIC LICENSE Files: debian/latex-cjk/* Copyright: 1994-2012 Werner Lemberg Source: http://cjk.ffii.org/ License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: ARPHIC PUBLIC LICENSE Copyright (C) 1999 Arphic Technology Co., Ltd. 11Fl. No.168, Yung Chi Rd., Taipei, 110 Taiwan All rights reserved except as specified below. . Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is forbidden. . Preamble . The licenses for most software are designed to take away your freedom to share and change it. By contrast, the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this software, provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software. . Legal Terms . 0. Definitions: Throughout this License, "Font" means the TrueType fonts "AR PL Mingti2L Big5", "AR PL KaitiM Big5" (BIG-5 character set) and "AR PL SungtiL GB", "AR PL KaitiM GB" (GB character set) which are originally distributed by Arphic, and the derivatives of those fonts created through any modification including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table. . "PL" means "Public License". . "Copyright Holder" means whoever is named in the copyright or copyrights for the Font. . "You" means the licensee, or person copying, redistributing or modifying the Font. . "Freely Available" means that you have the freedom to copy or modify the Font as well as redistribute copies of the Font under the same conditions you received, not price. If you wish, you can charge for this service. . 1. Copying & Distribution You may copy and distribute verbatim copies of this Font in any medium, without restriction, provided that you retain this license file (ARPHICPL.TXT) unaltered in all copies. . 2. Modification You may otherwise modify your copy of this Font in any way, including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table, and copy and distribute such modifications under the terms of Section 1 above, provided that the following conditions are met: . a) You must insert a prominent notice in each modified file stating how and when you changed that file. . b) You must make such modifications Freely Available as a whole to all third parties under the terms of this License, such as by offering access to copy the modifications from a designated place, or distributing the modifications on a medium customarily used for software interchange. . c) If the modified fonts normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the Font under these conditions, and telling the user how to view a copy of this License. . These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Font, and can be reasonably considered independent and separate works in themselves, then this License and its terms, do not apply to those sections when you distribute them as separate works. Therefore, mere aggregation of another work not based on the Font with the Font on a volume of a storage or distribution medium does not bring the other work under the scope of this License. . 3. Condition Subsequent You may not copy, modify, sublicense, or distribute the Font except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Font will automatically retroactively void your rights under this License. However, parties who have received copies or rights from you under this License will keep their licenses valid so long as such parties remain in full compliance. . 4. Acceptance You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to copy, modify, sublicense or distribute the Font. These actions are prohibited by law if you do not accept this License. Therefore, by copying, modifying, sublicensing or distributing the Font, you indicate your acceptance of this License and all its terms and conditions. . 5. Automatic Receipt Each time you redistribute the Font, the recipient automatically receives a license from the original licensor to copy, distribute or modify the Font subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. . 6. Contradiction If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Font at all. For example, if a patent license would not permit royalty-free redistribution of the Font by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Font. . If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. . 7. NO WARRANTY BECAUSE THE FONT IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE FONT, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS OR OTHER PARTIES PROVIDE THE FONT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE FONT IS WITH YOU. SHOULD THE FONT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. . 8. DAMAGES WAIVER UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, IN NO EVENT WILL ANY COPYRIGHTT HOLDERS, OR OTHER PARTIES WHO MAY COPY, MODIFY OR REDISTRIBUTE THE FONT AS PERMITTED ABOVE, BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR EXEMPLARY DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE FONT (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS INTERRUPTION), EVEN IF SUCH HOLDERS OR OTHER PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. latex-cjk-chinese-arphic-1.23/debian/changelog0000644000000000000000000004137012165572352016200 0ustar latex-cjk-chinese-arphic (1.23) unstable; urgency=low * The "Descriptive descriptions" release. * [copyright.in] - Change copyright year and my mail address; - use Copyright Format 1.0. * Bug fix: "descripton of this package is misleading", thanks to Liu Binsheng (Closes: #666395). - [control*] - Fix the templates that generate debian/control. * Bug fix: "outdated embedded data copy: aglfn", thanks to Paul Wise (Closes: #709585). - [control*, latex-cjk/aglfn13.txt, latex-cjk/makefdx.pl, copyright.in, README.Debian] - Remove latex-cjk/aglfn13.txt (v1.1) and depend on the `aglfn' Debian package which contains version 1.7 of the Adobe Glyph List For New Fonts. Update latex-cjk/makefdx.pl to point to the aglfn.txt file from the `aglfn' package. * [compat] - Bump up version from v7 to v9. * [control.stem.in] - Bump up Standards-Version from 3.8.3 to 3.9.4; changes: build-indep and build-arch are now required in d/rules. * [rules] - Switch from dh_clean to dh_prep; - add a "sed" line to replace @PROVIDESFILE@ in font.fd.in; - insert build-indep and build-arch targets; let's hope I did it correctly. * [font.fd.in] - Change the hard-coded "c70gkai.fd" into @PROVIDESFILE@. -- Danai SAE-HAN (韓達耐) Sat, 06 Jul 2013 00:18:51 +0800 latex-cjk-chinese-arphic (1.22) unstable; urgency=low * change maintainer to debian-tex-maint ML * add myself and Danai as uploaders * ack nmu (Closes: #646647) * fix location of sfd files for new texlive * rebuild with tex-common v3 * remove old conf files in updmap.d (debian/*.maintscript) -- Norbert Preining Thu, 22 Mar 2012 18:39:47 +0900 latex-cjk-chinese-arphic (1.21+nmu1) unstable; urgency=low * Non-maintainer upload. [ Hideki Yamane ] * debian/control - update font package name (ttf-*->fonts-*) * debian/rules - deal with changes in font packages (Closes: #646647) -- gregor herrmann Sun, 19 Feb 2012 17:42:37 +0100 latex-cjk-chinese-arphic (1.21) unstable; urgency=medium * The "Welcome to TeX Live 2009" release. * Set the urgency to medium, because it fixes an FTBFS bug. * [rules] - Do not show some of the more technical comments on the terminal; - add "ttf2pk/" to the sfddir variable because the upstream path to the Subfont Definition (SFD) files has changed. This fixes "FTBFS: No Sub Font Definition file", thanks to Lucas Nussbaum (Closes: #562395). * [control] Because of bug #562395, this package now depends on texlive-font-utils (>= 2009-4). -- Danai SAE-HAN (韓達耐) Sat, 09 Jan 2010 14:12:10 +0100 latex-cjk-chinese-arphic (1.20) unstable; urgency=medium * The "OMG, am I really a DD now?!" release. * Set the urgency to medium, because it fixes an FTBFS bug. * [rules] - Fix some more bashisms which cause an FTBFS. Thanks to Raphael Geissert and Lucas Nussbaum (Closes: #535389, #543020); - change copyright from 2008 to 2009. * [font.fd.in] - Add \CJKnormal to the {m}{n} regular shape to all fonts that use \CJKbold because NFSS doesn't call \selectfont when substituting fonts, and therefore the \CJK@bold@ does not reset. Fix from the upstream author of the CJK package; - update file version to 4.8.1 and date to 2008-10-03. * [control.stem.in] - Build-depend on tex-common (>= 1.20) to get trigger support; - bump to Standards-Version from 3.8.0 to 3.8.3 (no changes). * [control.leaf.in] Do not depend on tex-common anymore, but use ${misc:Depends} instead. * [latex-cjk/*] Get latest upstream version of the CJK scripts (4.8.2). * [changelog] Change the maintainer's email address. * [TODO] Remove the todo about skewed (i.e. italics) glyphs because the result is rather ugly. -- Danai SAE-HAN (韓達耐) Thu, 29 Oct 2009 00:46:23 +0100 latex-cjk-chinese-arphic (1.19) unstable; urgency=medium * The "Where art thou, oh vertical fonts" release. * Urgency set to medium, as this release fixes an FTBFS bug. * [rules] - Fix problem in the $(clean_fonts) rule when running target "clean" with -j: some debian/control entries could be missing. Thanks to Lucas Nussbaum for the patch (Closes: #465635); - with debhelper V7 you don't need to manually remove the *-stamp files anymore; - replace "dh_clean -k" with "dh_prep"; - README.Debian was installed by dh_installdocs only in the first binary package that appeared in debian/control. Install this file in all four binary packages; - bump copyright to 2008, and change from GPLv2 to GPLv2+; - remove the exhaustive error and log handling; - only build support for vertical writing for fonts that actually do have a proper GSUB table, to know "bsmi" and "bkai"; "gbsn" and "gkai" don't, so we compile the vertical fonts for gbsn and gkai with pltotf and vptovf. * [copyright.in] - Bump copyright to 2008; - change the link to /usr/share/common-licenses/GPL-2 instead of /GPL, which is now symlinked to /GPL-3. * [compat] Bump debhelper compatibility to level 7. * [control.stem.in] - Depend on debhelper (>= 7); - bump Standards-Version from 3.7.3 to 3.8.0; - fix package descriptions for bsmi, gbsn and gkai. Thanks to FENG Yu-ning (Closes: #478078); - Bug fix: Build-Depend-Indep on texlive-font-utils (>= 2007.dfsg.2) instead of the deprecated freetype1-tools. Thanks to Norbert Preining and madcoder (Closes: #484081); - add "sharutils" to the Build-Depends-Indep list to unpack the vertical fonts; - build-depend on tex-common version 1.11.2 or higher, which fixes a debhelper and Emacs error. Thanks to Norbert Preining; - switch from Xs-Vcs-* to Vcs-*; - use the correct SVN address from Debian Alioth, not from upstream's GIT repository. * [gbsn*,gkai*] I got these files from versions 1.18 and 1.15, when the Fontforge scripts didn't bail out if the TTF didn't contain a valid GSUB table. * [TODO] Add a reminder that I should either fix the vertical support for gbsn and gkai, or either completely remove support for it. * [README.Debian] Update dependencies. * [watch] Remove this file; it is of no use, because the Arphic fonts will never be updated again, and because this package is a Debian native package. * Changes by the sponsor, Norbert Preining: [README.Debian] Fix the location of the SFD fonts. [rules] Fix the location of the SFD fonts. [control] Remove double occurrence of texlive-font-utils in the build-depends-indep. -- Danai SAE-HAN (韓達耐) Sat, 16 Aug 2008 23:40:16 +0200 latex-cjk-chinese-arphic (1.18) unstable; urgency=low * The "I love vertical writing" release. * [changelog] - Remove a superfluous item from 1.17; - typo in 1.17. * [latex-cjk/makefdx.pl] Remove hoffset again. This setting is applied not only after \CJKhorz, but after \CJKvert, which isn't exactly what we want. * [latex-cjk/{*.pe,*.pl}] Upstream update. * [control.stem.in] - Build-Depend on fontforge (>= 0.0.20071105); - bump Standards-Version from 3.7.2.0 to 3.7.3; - depend on debhelper (>= 6). * [compat] Move to debhelper compatibility level 6. * [rules] - makefdx.pl now requires an extra "encoding" argument. Also use the "-u" flag when creating Unicode .fdx files; - use $(MY_DH_OPTIONS) instead of $(DH_OPTIONS). Now it shouldn't break anymore on parallel computers, making the compilation much faster. Thanks to Lucas Nussbaum (Closes: #458740); - removed a possible bashism, changing "{,x}" into "*". * [*.preinst] dh_installtex has moved the default priority from 10 to 20, rendering the /etc/texmf/updmap.d/10latex-cjk-chinese*.cfg conffiles obsolete. This script will create a backup in /etc/texmf/updmap.d/ if you have manually modified any of the 10*.cfg file. Thanks to Kumar Appaiah (Closes: #455461, #455462, #455463, #455464). -- Danai SAE-HAN (韓達耐) Mon, 28 Jan 2008 19:04:36 +0100 latex-cjk-chinese-arphic (1.17) unstable; urgency=medium * Set urgency to "medium" to fix two FTBFS bugs. * [latex-cjk/vert*.pe] Remove the line with SelectByAtt, which has been made deprecated upstream. This fixes "FTBFS: Fontforge doesn't support SelectByATT anymore" (Closes: #424999). * [control.stem.in] - Remove "tetex-bin" in Build-Depends-Indep. This fixes "FTBFS: latex-cjk-chinese-arphic-bsmi00lp missing files (build/bsmi00lp/bsmilp*.tfm), aborting" (Closes: #422828). Thanks to Michael Ablassmeier and Lucas Nussbaum; - put "debhelper" in Build-Depends, the rest of the packages in Build-Depends-Indep. Thanks to Florent Rougon; - minor cleanups. * [rules] - Some of the logs weren't directed yet to $(builddir)/; - add a few arguments after "dh_testdir" when cleaning, to make sure we're deleting the correct directory. Thanks to Florent Rougon. -- Danai SAE-HAN (韓達耐) Thu, 14 Jun 2007 17:03:02 +0200 latex-cjk-chinese-arphic (1.16) unstable; urgency=low * The "Circular dependencies go poof" release. * [control] - don't depend on latex-cjk-chinese. Thanks to Bill Allombert. (Closes: #396214); - reverse the order of the build-dependency on TeX packages, making TeXlive the preferred flavour; - remove the conflict (versioned) with and the replacement (unversioned) of tfm-arphic-@TYPEFACE@ (= 2.11.2-0.1), since they have now been removed in Debian/testing; - remove the virtual packages tfm-arphic-@TYPEFACE@. A "Provides:" tag should be sufficient. * [rules] - fix typo in a comment; - don't redirect all the output to build/[font]/log, but also to stdout (using "tee"), making sure that tools like piuparts don't interpret the hour-long builds with inactivity. (Closes: #398517). Thanks to Lucas Nussbaum; - output the current command also to the logfile. This makes it easier to trace bugs; - change wording of the comments, to make it clear that compiling these fonts will take a day, not just hours; thanks to Werner LEMBERG. * [README.Debian] add a new section about how to get GBK fonts as well, taking the Arphic fonts as an example. In the near future I will merge this info with the Cyberbit section into one document in the latex-cjk-common package. -- Danai SAE-HAN (韓達耐) Mon, 5 Feb 2007 01:14:57 +0100 latex-cjk-chinese-arphic (1.15) unstable; urgency=medium * The "Remove tfm-arphic" release. * Medium urgency because it fixes two RC bugs. * [changelog] remove "debian/" in the square brackets. It improves my efficiency with 0,1%. * [control.leaf.in] add tfm-arphic-* to each package's Replaces: list. The switch closes several bugs. (Closes: #190800, #285432, #309074, #391261, #392555, #392948, #393278, #393279, #393281, #393282, #395343) * [README.Debian] mention that switching to the new Type1 fonts requires the old PK fonts to be removed ~/.texmf-var/. * [rules] according to Debian Policy section 4.6, it is advised to use a double ampersand instead of a semicolon because of "sh"'s poor error trapping. -- Danai SAE-HAN (韓達耐) Sun, 29 Oct 2006 02:00:04 +0100 latex-cjk-chinese-arphic (1.14) unstable; urgency=low * [rules,README.Debian] change my email address. * [copyright.in] - change my email address; - include the full Arphic Public License (thanks Jeroen van Wolffelaar). -- Danai SAE-HAN (韓達耐) Sat, 7 Oct 2006 00:09:09 +0200 latex-cjk-chinese-arphic (1.13) unstable; urgency=low * The "Changing email address" release. * [rules] small aesthetic changes. * [changelog] - aesthetic changes in sync with the "cjk" Debian source package; - change the maintainer's email address to @edpnet.be. * [control] change the maintainer's email address. -- Danai SAE-HAN (韓達耐) Wed, 6 Sep 2006 06:52:05 +0200 latex-cjk-chinese-arphic (1.12) unstable; urgency=low * [control.leaf.in] change "any" to "all" again. I forgot that the debian/control file gets overwritten at every build. -- Danai SAE-HAN (韓達耐) Tue, 8 Aug 2006 09:30:36 +0200 latex-cjk-chinese-arphic (1.11) unstable; urgency=low * The "Thank you Frank" release. * Upload sponsored by Frank Küster . * [control.stem.in] - added Build-Depends on tetex-bin (>= 3.0) | texlive-font-utils. pbuilder should work now. - build-depend on the official freetype1-tools (>= 1.4pre.20050518-0.3) package instead of mine. * [rules] add error trapping because everything is redirected to $(builddir)/log. Now, when a build fails, the log will be shown completely on screen. -- Danai SAE-HAN (韓達耐) Sun, 23 Jul 2006 07:17:44 +0200 latex-cjk-chinese-arphic (1.10) unstable; urgency=low * [copyright] specifically mention that debian/ is released under the GPL. Thanks to Frank Küster. -- Danai SAE-HAN (韓達耐) Thu, 18 May 2006 23:07:08 +0200 latex-cjk-chinese-arphic (1.9) unstable; urgency=low * [control.stem.in] really bump up the Standards Version to 3.7.2.0. Doh. -- Danai SAE-HAN (韓達耐) Sat, 13 May 2006 09:21:16 +0200 latex-cjk-chinese-arphic (1.8) unstable; urgency=low * [control] bump the Standards Version to 3.7.2.0: no changes required. -- Danai SAE-HAN (韓達耐) Mon, 8 May 2006 01:34:24 +0200 latex-cjk-chinese-arphic (1.7) experimental; urgency=low * [control*] depend on tex-common (>=0.19) because of a typo in dh_installtex. Thanks to Norbert Preining. -- Danai SAE-HAN (韓達耐) Wed, 13 Mar 2006 19:37:20 +0100 latex-cjk-chinese-arphic (1.6) experimental; urgency=low * [rules] oh dear, I installed the .fd font definition files of gkai and gbsn in Bg5/, not in GB/. Thanks to CHEN Haifeng. -- Danai SAE-HAN (韓達耐) Thu, 2 Mar 2006 07:56:02 +0100 latex-cjk-chinese-arphic (1.5) experimental; urgency=low * [control*] add a conflict tfm-arphic-@TYPEFACE@ (=2.11.2-0.1) otherwise the package would conflict with itself. Duh... -- Danai SAE-HAN (韓達耐) Mon, 27 Feb 2006 15:35:01 +0100 latex-cjk-chinese-arphic (1.4) experimental; urgency=low * [control*] depend on tex-common (>=0.18), because dh_installtexfonts is now replaced by the more versatile dh_installtex command. * [rules] use dh_installtex from now on. -- Danai SAE-HAN (韓達耐) Sat, 25 Feb 2006 00:19:18 +0100 latex-cjk-chinese-arphic (1.3) experimental; urgency=low * [control] change architecture from "any" to "all" (thanks Ming Hua). * [control] add tfm-arphic-* to each package's Provides: list (thanks Anthony Fok). * [changelog] change "unstable" into "experimental". * [rules] remove a few bashisms, and clean it up somewhat. -- Danai SAE-HAN (韓達耐) Sat, 7 Jan 2006 00:12:02 +0100 latex-cjk-chinese-arphic (1.2) experimental; urgency=low * Move map files from /etc/texmf/map/dvips/arphic/ to /usr/share/texmf-tetex/fonts/map/dvips/arphic/. * Depend on tex-common (>=0.14) because it fixes a bug with dh_installtexfonts when it creates the config.* files. -- Danai SAE-HAN (韓達耐) Thu, 28 Dec 2005 22:06:43 +0100 latex-cjk-chinese-arphic (1.1) experimental; urgency=low * Aaargh! Typo in debian/control: depend on tex-common (>=0.13). -- Danai SAE-HAN (韓達耐) Sat, 17 Dec 2005 05:27:09 +0100 latex-cjk-chinese-arphic (1.0) experimental; urgency=low * Build the TFM, Type1, AFM and VF fonts using Werner Lemberg's fontforge scripts. * Depend on fontforge (>=0.0.20050717). * Make this package dependent on freetype1-tools: only the .sfd files are important. ttfonts.map nor ttf2pk from freetype1-tools aren't used anymore. * The path of the SFD files (/usr/share/texmf/fonts/sfd) has changed with TDS version 1.1. Depend on a newer version of freetype1-tools (>=1.4pre.20030402-2). * Depend on ttf-arphic-* for the TrueType Fonts. Conflict with the older tfm-arphic-* packages. * Use the new dh_installtexfonts to install the font maps. -- Danai SAE-HAN (韓達耐) Thu, 1 Dec 2005 12:45:10 +0100 latex-cjk-chinese-arphic-1.23/debian/gbsnuvr.pfb.uu0000644000000000000000000000772211750010341017120 0ustar begin 644 gbsnuvr.pfb M@`&,!0``)2%04RU!9&]B949O;G0M,2XP.B!G8G-N=79R(#(N,3$*)254:71L M93H@9V)S;G5V<@HE5F5R7)I9VAT.B`H8RD@0V]P>7)I9VAT(#$Y M.30M,3DY.2P@07)P:&EC(%1E8VAN;VQO9WD@0V\N+"!,=&0N"B5#;W!Y7!H(')E9F5R96YC92!F M;VYT('9E&-H+T9O;G14>7!E(&=E="`Q(&5Q(&%N9'U[<&]P M(&9A;'-E?6EF96QS90I[V9A;'-E M?6EF96QS90HQ,B!D:6-T(&)E9VEN"B]&;VYT5'EP92`Q(&1E9@HO1F]N=$UA M=')I>"!;,"XP,#$@,"`P(#`N,#`Q(#`@,"!=2!D968*+U5N:7%U94E$(#0P-32!D968*("].;W1I8V4@*%PP-3!C7#`U,2!#;W!Y2!#;RXL($QT9"Y<,#$R7#`Q,E9E7!H(')E9F5R96YC92!F;VYT('9E2!#;RXL($QT9"X*)2`*)2!697)T:6-A;"!G;'EP:"!R969E M2!D M968*("]&86UI;'E.86UE("A!4B!03"!3=6YG=&E,($="*2!R96%D;VYL>2!D M968*("]796EG:'0@*$)O;VLI(')E861O;FQY(&1E9@H@+T935'EP92`T(&1E M9@H@+TET86QI8T%N9VQE(#`@9&5F"B`O:7-&:7AE9%!I=&-H('1R=64@9&5F M"B`O56YD97)L:6YE4&]S:71I;VX@+3&5C"H`"I`,``'0_A!/S8VRH M6I_^^U"TNR+F'"2,)=CBL]JCU/H)'I7QMF]M!&5Z^2!JHM MBM-^,9P'84,3[BX.9AB(T/]Y(N2 MP]&D5@SKW)7ZTU`^&LJSC7M*SZZ-;>@XUO'YGC?VX]I!L.+V,K#$B1H=+;=%!HO12-5;QLZV3Q3 MGT&UJ/X"AI03?U]_'[[X@3VG(\)7@C)H2U\^COU]&*`O^*- MX&/5\#3[>+WWWVW7P+HB("9285L<-DF?B@7J>?Y9$\425VAAD5=1V<"2C9IZ M#-\DR3LTU\-A'I_R)H@'PX@*R0VB"#XOB1*6]&K1')LI),'/-RUXL M]I/)I8PV7BU@MC$8>MI1YT=#HU>J1H6X!@:L`XQ9P4/&^'[:TY6=&:%MTYK`_ M7E4D*:].WR]D\6BY/[L< M^PY9CCS6N(186O)_>;F/.^#4EE2)FX.5SN)__31I=$Y./Q(G]/C8A)Y#,BI@ MX+&%SI1U)]A7_?H[U[G/V=&X>HW''=:&0&UO:6='"4^M]168?S)#-*C<2=U& M.P[`SMVK!K'W":N)SCZNQ=#7DG59VA9;;!RAQ"2NO,A:P3$H$>;&=I0>&).O M]+8=O(8](Z M0#-@6@CLL7K7JV@)&`YK0;\=%8V:YJ2@FK)^T1`4;X[Z"/W>79PS;`&4\(6B MJ)N]YCA_+1\RF0?Q+PJO2M*`7(23-P`0@`$A`@``"C`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`*,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,`HP,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M"C`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`*,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,`HP,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P"C`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`*,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P E,#`P,#`P,#`P,`IC;&5A Source: http://cjk.ffii.org/ License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: ARPHIC PUBLIC LICENSE Copyright (C) 1999 Arphic Technology Co., Ltd. 11Fl. No.168, Yung Chi Rd., Taipei, 110 Taiwan All rights reserved except as specified below. . Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is forbidden. . Preamble . The licenses for most software are designed to take away your freedom to share and change it. By contrast, the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this software, provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software. . Legal Terms . 0. Definitions: Throughout this License, "Font" means the TrueType fonts "AR PL Mingti2L Big5", "AR PL KaitiM Big5" (BIG-5 character set) and "AR PL SungtiL GB", "AR PL KaitiM GB" (GB character set) which are originally distributed by Arphic, and the derivatives of those fonts created through any modification including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table. . "PL" means "Public License". . "Copyright Holder" means whoever is named in the copyright or copyrights for the Font. . "You" means the licensee, or person copying, redistributing or modifying the Font. . "Freely Available" means that you have the freedom to copy or modify the Font as well as redistribute copies of the Font under the same conditions you received, not price. If you wish, you can charge for this service. . 1. Copying & Distribution You may copy and distribute verbatim copies of this Font in any medium, without restriction, provided that you retain this license file (ARPHICPL.TXT) unaltered in all copies. . 2. Modification You may otherwise modify your copy of this Font in any way, including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table, and copy and distribute such modifications under the terms of Section 1 above, provided that the following conditions are met: . a) You must insert a prominent notice in each modified file stating how and when you changed that file. . b) You must make such modifications Freely Available as a whole to all third parties under the terms of this License, such as by offering access to copy the modifications from a designated place, or distributing the modifications on a medium customarily used for software interchange. . c) If the modified fonts normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the Font under these conditions, and telling the user how to view a copy of this License. . These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Font, and can be reasonably considered independent and separate works in themselves, then this License and its terms, do not apply to those sections when you distribute them as separate works. Therefore, mere aggregation of another work not based on the Font with the Font on a volume of a storage or distribution medium does not bring the other work under the scope of this License. . 3. Condition Subsequent You may not copy, modify, sublicense, or distribute the Font except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Font will automatically retroactively void your rights under this License. However, parties who have received copies or rights from you under this License will keep their licenses valid so long as such parties remain in full compliance. . 4. Acceptance You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to copy, modify, sublicense or distribute the Font. These actions are prohibited by law if you do not accept this License. Therefore, by copying, modifying, sublicensing or distributing the Font, you indicate your acceptance of this License and all its terms and conditions. . 5. Automatic Receipt Each time you redistribute the Font, the recipient automatically receives a license from the original licensor to copy, distribute or modify the Font subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. . 6. Contradiction If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Font at all. For example, if a patent license would not permit royalty-free redistribution of the Font by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Font. . If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. . 7. NO WARRANTY BECAUSE THE FONT IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE FONT, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS OR OTHER PARTIES PROVIDE THE FONT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE FONT IS WITH YOU. SHOULD THE FONT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. . 8. DAMAGES WAIVER UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, IN NO EVENT WILL ANY COPYRIGHTT HOLDERS, OR OTHER PARTIES WHO MAY COPY, MODIFY OR REDISTRIBUTE THE FONT AS PERMITTED ABOVE, BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR EXEMPLARY DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE FONT (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS INTERRUPTION), EVEN IF SUCH HOLDERS OR OTHER PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. latex-cjk-chinese-arphic-1.23/debian/gbsnuv.pl0000644000000000000000000000051711750010341016145 0ustar (FAMILY AR PL SUNGTIL GB) (FACE F MRR) (CODINGSCHEME FONTSPECIFIC) (DESIGNSIZE R 10.0) (COMMENT DESIGNSIZE IS IN POINTS) (COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE) (CHECKSUM O 0) (FONTDIMEN (SLANT R 0.0) (SPACE R 0.33) (STRETCH R 0.165) (SHRINK R 0.11) (XHEIGHT R 0.0) (QUAD R 1.0) (EXTRASPACE R 0.11) ) latex-cjk-chinese-arphic-1.23/debian/control.leaf.in0000644000000000000000000000055111750013203017220 0ustar Package: latex-cjk-chinese-arphic-@TYPEFACE@ Architecture: all Suggests: fonts-arphic-@TYPEFACE@ Provides: tfm-arphic-@TYPEFACE@ Depends: ${misc:Depends} Description: @FAMILYNAME@ fonts for CJK This package installs all necessary fonts (PFB, AFM, TFM, etc.) to get the "@FAMILYNAME@" font working with the LaTeX macro "CJK" in local and UTF-8 environments. latex-cjk-chinese-arphic-1.23/debian/latex-cjk-chinese-arphic-bkai00mp.maintscript0000644000000000000000000000012211750010341024716 0ustar rm_conffile /etc/texmf/updmap.d/20latex-cjk-chinese-arphic-bkai00mp.cfg 1.21+nmu1 latex-cjk-chinese-arphic-1.23/debian/latex-cjk-chinese-arphic-gbsn00lp.maintscript0000644000000000000000000000012211750010341024740 0ustar rm_conffile /etc/texmf/updmap.d/20latex-cjk-chinese-arphic-gbsn00lp.cfg 1.21+nmu1 latex-cjk-chinese-arphic-1.23/debian/gbsnuvr.afm0000644000000000000000000000102511750010341016452 0ustar StartFontMetrics 2.0 Comment Generated by FontForge 20061019 Comment Creation Date: Sun Oct 29 06:35:54 2006 FontName gbsnuvr FullName AR PL SungtiL GB vertical reference FamilyName AR PL SungtiL GB Weight Book Notice ((c) Copyright 1994-1999, Arphic Technology Co., Ltd.) Comment Comment Vertical glyph reference font version 2005-07-01. ItalicAngle 0 IsFixedPitch true UnderlinePosition -72.2656 UnderlineThickness 48.8281 Version 2.11 EncodingScheme FontSpecific FontBBox 0 0 0 0 StartCharMetrics 0 EndCharMetrics EndFontMetrics latex-cjk-chinese-arphic-1.23/debian/latex-cjk-chinese-arphic-bkai00mp.copyright0000644000000000000000000002031712165577232024423 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: debian/* Copyright: 2005-2013 Danai SAE-HAN (韓達耐) License: GPL-2+ Files: debian/{gbsn,gkai}* Copyright: 1999 Arphic Technolocy Co., Ltd. License: ARPHIC PUBLIC LICENSE Files: debian/latex-cjk/* Copyright: 1994-2012 Werner Lemberg Source: http://cjk.ffii.org/ License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: ARPHIC PUBLIC LICENSE Copyright (C) 1999 Arphic Technology Co., Ltd. 11Fl. No.168, Yung Chi Rd., Taipei, 110 Taiwan All rights reserved except as specified below. . Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is forbidden. . Preamble . The licenses for most software are designed to take away your freedom to share and change it. By contrast, the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this software, provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software. . Legal Terms . 0. Definitions: Throughout this License, "Font" means the TrueType fonts "AR PL Mingti2L Big5", "AR PL KaitiM Big5" (BIG-5 character set) and "AR PL SungtiL GB", "AR PL KaitiM GB" (GB character set) which are originally distributed by Arphic, and the derivatives of those fonts created through any modification including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table. . "PL" means "Public License". . "Copyright Holder" means whoever is named in the copyright or copyrights for the Font. . "You" means the licensee, or person copying, redistributing or modifying the Font. . "Freely Available" means that you have the freedom to copy or modify the Font as well as redistribute copies of the Font under the same conditions you received, not price. If you wish, you can charge for this service. . 1. Copying & Distribution You may copy and distribute verbatim copies of this Font in any medium, without restriction, provided that you retain this license file (ARPHICPL.TXT) unaltered in all copies. . 2. Modification You may otherwise modify your copy of this Font in any way, including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table, and copy and distribute such modifications under the terms of Section 1 above, provided that the following conditions are met: . a) You must insert a prominent notice in each modified file stating how and when you changed that file. . b) You must make such modifications Freely Available as a whole to all third parties under the terms of this License, such as by offering access to copy the modifications from a designated place, or distributing the modifications on a medium customarily used for software interchange. . c) If the modified fonts normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the Font under these conditions, and telling the user how to view a copy of this License. . These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Font, and can be reasonably considered independent and separate works in themselves, then this License and its terms, do not apply to those sections when you distribute them as separate works. Therefore, mere aggregation of another work not based on the Font with the Font on a volume of a storage or distribution medium does not bring the other work under the scope of this License. . 3. Condition Subsequent You may not copy, modify, sublicense, or distribute the Font except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Font will automatically retroactively void your rights under this License. However, parties who have received copies or rights from you under this License will keep their licenses valid so long as such parties remain in full compliance. . 4. Acceptance You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to copy, modify, sublicense or distribute the Font. These actions are prohibited by law if you do not accept this License. Therefore, by copying, modifying, sublicensing or distributing the Font, you indicate your acceptance of this License and all its terms and conditions. . 5. Automatic Receipt Each time you redistribute the Font, the recipient automatically receives a license from the original licensor to copy, distribute or modify the Font subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. . 6. Contradiction If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Font at all. For example, if a patent license would not permit royalty-free redistribution of the Font by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Font. . If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. . 7. NO WARRANTY BECAUSE THE FONT IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE FONT, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS OR OTHER PARTIES PROVIDE THE FONT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE FONT IS WITH YOU. SHOULD THE FONT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. . 8. DAMAGES WAIVER UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, IN NO EVENT WILL ANY COPYRIGHTT HOLDERS, OR OTHER PARTIES WHO MAY COPY, MODIFY OR REDISTRIBUTE THE FONT AS PERMITTED ABOVE, BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR EXEMPLARY DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE FONT (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS INTERRUPTION), EVEN IF SUCH HOLDERS OR OTHER PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. latex-cjk-chinese-arphic-1.23/debian/latex-cjk-chinese-arphic-gkai00mp.maintscript0000644000000000000000000000012211750010341024723 0ustar rm_conffile /etc/texmf/updmap.d/20latex-cjk-chinese-arphic-gkai00mp.cfg 1.21+nmu1 latex-cjk-chinese-arphic-1.23/debian/latex-cjk-chinese-arphic-bsmi00lp.maintscript0000644000000000000000000000012211750010341024741 0ustar rm_conffile /etc/texmf/updmap.d/20latex-cjk-chinese-arphic-bsmi00lp.cfg 1.21+nmu1 latex-cjk-chinese-arphic-1.23/debian/gkaiuv.pfb.uu0000644000000000000000000000767511750010341016727 0ustar begin 644 gkaiuv.pfb M@`%_!0``)2%04RU!9&]B949O;G0M,2XP.B!G:V%I=78@,BXQ,0HE)51I=&QE M.B!G:V%I=78*)59E7)I9VAT M.B`@"B5#;W!Y2!&;VYT1F]R M9V4@,C`P-C$P,3D@*&AT='`Z+R]F;VYT9F]R9V4N2]G:V%I=78@:VYO=VY[+V=K86EU=B!F M:6YD9F]N="!D=7`O56YI<75E240@:VYO=VY[9'5P"B]5;FEQ=65)1"!G970@ M-#$Y,#(Y,B!E<2!E>&-H+T9O;G14>7!E(&=E="`Q(&5Q(&%N9'U[<&]P(&9A M;'-E?6EF96QS90I[V9A;'-E?6EF M96QS90HQ,B!D:6-T(&)E9VEN"B]&;VYT5'EP92`Q(&1E9@HO1F]N=$UA=')I M>"!;,"XP,#$@,"`P(#`N,#`Q(#`@,"!=S`@,"`P(#`@?7)E861O;FQY(&1E M9@HO56YI<75E240@-#$Y,#(Y,B!D968*+UA5240@6S$P,C$@,S4U(#2!D M968*("].;W1I8V4@*%PP-3!C7#`U,2!#;W!Y2!#;RXL($QT9"Y<,#$R7#`Q,E9E7!H(')E<')E2!D968*)2`H8RD@0V]P>7)I9VAT(#$Y.30M,3DY.2P@07)P:&EC(%1E M8VAN;VQO9WD@0V\N+"!,=&0N"B4@"B4@5F5R=&EC86P@9VQY<&@@2!D968*("]&86UI;'E. M86UE("A!4B!03"!+86ET:4T@1T(I(')E861O;FQY(&1E9@H@+U=E:6=H="`H M0F]O:RD@7!E(#0@9&5F"B`O271A;&EC06YG M;&4@,"!D968*("]I&5D4&ET8V@@=')U92!D968*("]5;F1ER*+-S:Q=.4V:28QH5 MBZ3*4UXN8<)(PEV.*SVJ/4^@D>E?&V;VT$97KY(&JBV*TWXQER_BOR,B97^1 M(),P>:5(Z9>X(N2+(>SE-[`=A0Q/N+@YF&(C0_WDBY+#T:16#.OTIRH?*<7>!&Y:8DY'?4^J01MHFTM#?6M1"028-_;CVD&PXO8RL,2)&ATMMT4&B]%(U5N9MUI8,YO875E_WC2-<>>MN<: M1@7+9RZFLUR?MM`&U%,[LA7+(>@AK"7%7*&&E3JUA&= MNI"OJ['O9-[PQ,'3X^ZI0.A>PS@R6!:37LR4@$OXNA'(B:?`]QZ% M*-,^O_.\76`([Q25AXA[N'7X&4UNB58$LW1TK$2*KL*C5[0]U$3M7BJN?O-_ M!CVN1(NRZ%UQ)Z^Z+G MCON6UMS5PHW_-_M^>/3WB%3,NSC&@4]^DB58V<7.9D#&ZH,.$\DE>#P@Q6H9 ME>A1^PGV.![M8B=9<8OWR\%9WP5QCUS``]!>,LC.R*I*GO6:-`D38#U_S#:I=?^AP1@U3Y!PG M=P#A=`$:'GHN0)G'TV8DIZ?]F$8ZHA"6,IR&2!@@^>8A9]>-#@)XW*$U4P-H MS49#B?F2#-M7EY$X(3$B'G@-RR#>Z]HU$J>+:SI_>LU:6[H-Z>&^;&*=S\4* M6>)8&E56)=UT.I5`W^>:8M@K]II;SMUAHIJM(!8X3V5%`:+%Z%1N\`8N6[G0 MF#U3-8D*M>Q$Q3]9'2GG)5>D$W&>SXV>(EI%+=#*MQ(9J M]:U#`DP@]V$N'@1JZDSYEL%JS!<1B,,G%;DW#'#0D7(,A%08R&)9/8#Y M6(90)<#P]_Z5T;D5S]5\4@$%C%(YGT:)EYF#@-:``2$"```*,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,`HP,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P"C`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`*,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,`HP,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P"C`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`*,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,`HP,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P"F-L 896%R=&]M87)K"GMR97-T;W)E?6EF"H`# ` end latex-cjk-chinese-arphic-1.23/debian/latex-cjk/0000755000000000000000000000000012165577231016204 5ustar latex-cjk-chinese-arphic-1.23/debian/latex-cjk/subfonts.pe0000644000000000000000000000474611750010341020367 0ustar # Generate CJK subfonts from master font. # The fonts are created in the current directory. # # $1: The master font (e.g., `bsmi00lp.ttf'). # $2: The name stem for the subfonts (e.g., `bsmilp'). # $3: The subfont definition file, mapping from Unicode to whatever # (e.g., `UBig5.sfd', which maps to Big 5). # # A collection of useful subfont definition files for CJK fonts can be found # in the ttf2pk package. # Copyright (C) 1994-2008 Werner Lemberg # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in doc/COPYING; if not, write to the Free # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301 USA if (Strtol($version) < 20071105) Print("Can't use FontForge version before 2007-11-05. Aborting."); Quit(1); endif; if ($argc != 4) Print("usage: [fontforge -script] ", $0, " master-font name-stem SFD-file"); Quit(1); endif; Print("Loading ", $1, "..."); Open($1); if ($cidfontname != "") CIDFlatten(); endif; Reencode("ucs4"); copyright = $copyright \ + Chr(10) + Chr(10) \ + "Subfont version " \ + Strftime("%F", 1, "C") \ + "."; SetFontNames("", "", "", "", copyright, ""); Print("Ensure third order curves..."); SetFontOrder(3); Print("Scaling to PostScript units..."); ScaleToEm(900, 100); num_chars = CharCnt(); count = 0; delta = 100; while (count + delta < num_chars) Print(count, "/", num_chars - 1, ":"); Select(count, count + delta); Print(" Add extrema..."); AddExtrema(); Print(" Simplifying outlines..."); Simplify(0, 2); count += delta; endloop; Print(count, "/", num_chars - 1, ":"); Select(count, num_chars - 1); Print(" Add extrema..."); AddExtrema(); Print(" Simplifying outlines..."); Simplify(0, 2); SelectAll(); # generate AFM and TFM files, no PS hints, and rounded PS coordinates Print("Generating subfonts..."); Generate($2 + "%s.pfb", "", \ 0x1 | 0x100 | 0x10000 | 0x80000 | 0x200000, \ -1, $3); Quit(0); latex-cjk-chinese-arphic-1.23/debian/latex-cjk/vertref.pe0000644000000000000000000000576111750010341020177 0ustar # Generate a font with glyphs which have vertical glyph representations (but # don't include the vertical glyph representations itself). This is used by # the perl script `makefdx.pl' to create an FDX file as used by the CJK # package for LaTeX. # # The font is created in the current directory. # # $1: The master font (e.g., `bsmi00lp.ttf'). # $2: The name of the target font (e.g., `bsmilpvr'). # Copyright (C) 1994-2007 Werner Lemberg # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in doc/COPYING; if not, write to the Free # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301 USA if (Strtol($version) < 20071105) Print("Can't use FontForge version before 2007-11-05. Aborting."; Quit(1); endif; if ($argc != 3) Print("usage: [fontforge -script] ", $0, " master-font fontname"); Quit(1); endif; Print("Loading ", $1, "..."); Open($1); fontname = $2; fullname = $fullname + " vertical reference"; copyright = $copyright \ + Chr(10) + Chr(10) \ + "Vertical glyph reference font version " \ + Strftime("%F", 1, "C") \ + "."; SetFontNames(fontname, "", fullname, "", copyright, ""); lookups = GetLookups("GSUB"); i = 0; result = -1; while (i < SizeOf(lookups)) if (Strstr(lookups[i], "'vert'") >= 0) result = i; endif; i++; endloop; if (result == -1) Print("This font doesn't contain a GSUB table with a `vert' feature."); Quit(1); endif; subtables = GetLookupSubtables(lookups[result]); i = 0; result = -1; while (i < SizeOf(subtables)) if (Strstr(subtables[i], "'vert'") >= 0) result = i; endif; i++; endloop; SelectByPosSub(subtables[result], 1); SelectInvert(); DetachAndRemoveGlyphs(); Print("Ensure third order curves..."); SetFontOrder(3); Print("Scaling to PostScript units..."); ScaleToEm(900, 100); num_chars = CharCnt(); count = 0; delta = 100; while (count + delta < num_chars) Print(count, "/", num_chars - 1, ":"); Select(count, count + delta); Print(" Add extrema..."); AddExtrema(); Print(" Simplifying outlines..."); Simplify(0, 2); count += delta; endloop; Print(count, "/", num_chars - 1, ":"); Select(count, num_chars - 1); Print(" Add extrema..."); AddExtrema(); Print(" Simplifying outlines..."); Simplify(0, 2); Reencode("original"); # generate AFM and TFM files, no PS hints, and rounded PS coordinates Print("Generating font..."); Generate($2 + ".pfb", "", \ 0x1 | 0x100 | 0x10000 | 0x80000 | 0x200000); Quit(0); latex-cjk-chinese-arphic-1.23/debian/latex-cjk/vertical.pe0000644000000000000000000000525411750010341020330 0ustar # Generate a font which contains vertical glyph representations. # The font is created in the current directory. # # $1: The master font (e.g., `bsmi00lp.ttf'). # $2: The name of the vertical font (e.g., `bsmilpv'). # Copyright (C) 1994-2007 Werner Lemberg # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in doc/COPYING; if not, write to the Free # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301 USA if (Strtol($version) < 20071105) Print("Can't use FontForge version before 2007-11-05. Aborting."; Quit(1); endif; if ($argc != 3) Print("usage: [fontforge -script] ", $0, " master-font vertical-fontname"); Quit(1); endif; Print("Loading ", $1, "..."); Open($1); fontname = $2; fullname = $fullname + " vertical"; copyright = $copyright \ + Chr(10) + Chr(10) \ + "Vertical glyph representations version " \ + Strftime("%F", 1, "C") \ + "."; SetFontNames(fontname, "", fullname, "", copyright, ""); SelectAll(); ApplySubstitution("*", "*", "vert"); if (!$fontchanged) Print("No vertical glyph representation forms found."); Quit(1); endif; SelectChanged(); SelectInvert(); DetachAndRemoveGlyphs(); Print("Ensure third order curves..."); SetFontOrder(3); Print("Scaling to PostScript units..."); ScaleToEm(900, 100); num_chars = CharCnt(); count = 0; delta = 100; while (count + delta < num_chars) Print(count, "/", num_chars - 1, ":"); Select(count, count + delta); Print(" Add extrema..."); AddExtrema(); Print(" Simplifying outlines..."); Simplify(0, 2); count += delta; endloop; Print(count, "/", num_chars - 1, ":"); Select(count, num_chars - 1); Print(" Add extrema..."); AddExtrema(); Print(" Simplifying outlines..."); Simplify(0, 2); SelectAll(); foreach unicode = GlyphInfo("Unicode"); if (unicode > 0) SetUnicodeValue(unicode); name = GlyphInfo("Name"); SetGlyphName(name + ".vert", 0); endif endloop; Reencode("original"); # generate AFM and TFM files, no PS hints, and rounded PS coordinates Print("Generating font..."); Generate($2 + ".pfb", "", \ 0x1 | 0x100 | 0x10000 | 0x80000 | 0x200000); Quit(0); latex-cjk-chinese-arphic-1.23/debian/latex-cjk/clonevf.pl0000755000000000000000000000527311750010341020166 0ustar #! /usr/bin/perl -w # # This script clones a virtual font from a TFM file. # # As prerequisites, it needs the programs `tftopl' and `vptovf', which must # be in the path. # # Call the script as # # perl clonevf.pl tfm-name vf-name # # Example: # # perl clonevf.pl bsmiuv bsmilpv # Copyright (C) 1994-2008 Werner Lemberg # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in doc/COPYING; if not, write to the Free # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301 USA use strict; my $prog = $0; $prog =~ s@.*/@@; if ($#ARGV != 1) { die("usage: $prog tfm-name vf-name\n"); } my $tfmname = $ARGV[0]; my $vfname = $ARGV[1]; # Create PL file. print("Processing metrics file \`$tfmname.tfm'...\n"); my $arg = "tftopl $tfmname.tfm > $tfmname.pl"; system($arg) == 0 || die("$prog: calling \`$arg' failed: $?\n"); # Create VPL file. print("Writing virtual property list file \`$vfname.vpl'...\n"); open(PL, "$tfmname.pl") || die("$prog: can't open \`$tfmname.pl': $!\n"); open(VPL, ">", "$vfname.vpl") || die("$prog: can't open \`$vfname.vpl': $!\n"); print(VPL "(VTITLE Created by \`$prog " . join(" ", @ARGV) . "')\n"); print(VPL "(FAMILY TEX-\U$vfname\E)\n"); my $have_mapfont = 0; while () { next if /^\(FAMILY/; next if /^\(CHECKSUM/; if (/^\(CHARACTER (.*)/) { if (!$have_mapfont) { print(VPL "(MAPFONT D 0\n"); print(VPL " (FONTNAME $tfmname)\n"); print(VPL " )\n"); $have_mapfont = 1; } my $char = $1; print(VPL $_); $_ = ; if (/CHARWD/) { print(VPL $_); $_ = ; } if (/CHARHT/) { print(VPL $_); $_ = ; } if (/CHARDP/) { print(VPL $_); $_ = ; } print(VPL " (MAP\n"); print(VPL " (SELECTFONT D 0)\n"); print(VPL " (SETCHAR $char)\n"); print(VPL " )\n"); } print(VPL $_); } close(PL); close(VPL); print("Processing \`$vfname.vpl'\n"); $arg = "vptovf $vfname.vpl"; system($arg) == 0 || die("$prog: calling \`$arg' failed: $?\n"); print("Removing \`$tfmname.pl'...\n"); unlink("$tfmname.pl"); print("Removing \`$vfname.vpl'...\n"); unlink("$vfname.vpl"); # eof latex-cjk-chinese-arphic-1.23/debian/latex-cjk/makefdx.pl0000644000000000000000000002011412162107003020135 0ustar #! /usr/bin/perl -w # # This script creates proper entries for an FDX file as used by the CJK # package for LaTeX. # # As a prerequisite, it needs the file # # http://partners.adobe.com/public/developer/en/opentype/aglfn13.txt # # which must be located in the current directory. # # Call the script as # # perl [-u] makefdx.pl vertref-afm-file sfd-file encoding font-name # # `vertref-afm-file' is an AFM file as produced by the script `vertref.pe'. # The subfont definition file `sfd-file' gives the subfont scheme to get the # proper entries in the FDX file. `encoding' and `font-name' are TeX font # parameters as used by the CJK package; the scripts uses the concatenation # of those two values as the name of the FDX file (with suffix `.fdx'). # # The switch `-u' makes the script add a macro to the FDX file (which is # used by the CJKutf8.sty) to provide a proper /ToUnicode cmap to pdftex. # # Note that the created FDX file has to be completed manually. # # Examples: # # perl makefdx.pl bsmiuvr.afm UBig5.sfd c00 bsmi # # The result of this call is the file `c00bsmi.fdx' (you get some warnings # because not all glyphs contained in bsmiuvr.afm can be accessed with Big5 # encoding). # # perl makefdx.pl -u bsmiuvr.afm Unicode.sfd c70 bsmi # # The result of this call is the file `c70bsmi.fdx'. # # A collection of useful subfont definition files for CJK fonts can be found # in the ttf2pk package. # Copyright (C) 1994-2012 Werner Lemberg # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in doc/COPYING; if not, write to the Free # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301 USA use strict; my $prog = $0; $prog =~ s@.*/@@; my $is_unicode = 0; if ($ARGV[0] eq "-u") { $is_unicode = 1; shift @ARGV; } if ($#ARGV != 3) { die("usage: $prog [-u] vertref-afm-file sfd-file encoding font-name\n"); } my $vertrefafmfile = $ARGV[0]; my $sfdfile = $ARGV[1]; my $encoding = $ARGV[2]; my $fontname = $ARGV[3]; my $fdxfile = $encoding . $fontname . ".fdx"; # Read AGL file. my %agl; read_aglfile("/usr/share/aglfn/aglfn.txt", \%agl); # Read AFM file. my @vertref; read_afmfile($vertrefafmfile, \@vertref); # Read subfont definition file. my @sfd; read_sfdfile($sfdfile, \@sfd); # Write FDX file. print("Writing extended font definition file \`$fdxfile'...\n"); open(FDX, ">", $fdxfile) || die("$prog: can't open \`$fdxfile': $!\n"); my $oldfh = select(FDX); print("% This is the file $fdxfile of the CJK package % for using Asian logographs (Chinese/Japanese/Korean) with LaTeX2e % % created by the script makefdx.pl for CJK Version 4.8.3 (07-May-2012). \\def\\fileversion{4.8.3} \\def\\filedate{2012/05/07} \\ProvidesFile{$fdxfile}[\\filedate\\space\\fileversion] \\CJKvdef{fullheight}{1em} \\CJKvdef{height}{.88em} \\CJKvdef{offset}{.6em} % Uncomment if necessary. %\\CJKvdef{norotate}{} "); my @unicodes; my $mapping_count = 0; foreach my $index (0 .. $#vertref) { my $glyphnameref = $vertref[$index]; my $unicode; if (defined ($agl{$glyphnameref})) { $unicode = $agl{$glyphnameref}; } elsif ($glyphnameref =~ /^uni([0-9A-F]{4})$/) { $unicode = hex($1); } elsif ($glyphnameref =~ /^u([0-9A-F]{4,6})$/) { $unicode = hex($1); } else { $unicode = -1; } if ($unicode == -1 || ($unicode >= 0xD800 && $unicode <= 0xDFFF) || $unicode > 0x10FFFF) { print(STDERR "Can't map glyph name \`$glyphnameref' to Unicode.\n"); $unicodes[$index] = -1; next; } $unicodes[$index] = $unicode; my $sfdentry; if (defined ($sfd[$unicode])) { $sfdentry = $sfd[$unicode]; } else { $unicodes[$index] = -1; printf(STDERR "\`%s' (U+%04X) not in subfont encoding\n", $glyphnameref, $unicode); next; } $mapping_count++; print("\\CJKvdef{m/n/$sfdentry}"); print("{\\def\\CJK\@plane{v}\\selectfont\\CJKsymbol{$index}}\n"); print("\\CJKvlet{bx/n/$sfdentry}"); print("{m/n/$sfdentry}\n"); } if ($is_unicode) { print(" \\gdef\\CJK\@cmap\@${fontname}v{ \\expandafter\\ifx\\csname CJK\@CMap\@${fontname}v\\endcsname \\relax \\immediate\\pdfobj stream { /CIDInit\\space/ProcSet\\space findresource\\space begin\\space 12\\space dict\\space begin\\space begincmap\\space /CIDSystemInfo\\space <<\\space /Registry\\space (TeX)\\space /Ordering\\space (${fontname}v)\\space /Supplement\\space 0\\space >>\\space def\\space /CMapName\\space /TeX-${fontname}v-0\\space def\\space 1\\space begincodespacerange\\space <00>\\space \\space endcodespacerange\\space $mapping_count\\space beginbfchar\\space "); foreach my $index (0 .. $#vertref) { if ($unicodes[$index] != -1) { printf(" <%02X>\\space <%04X>\\space\n", $index, $unicodes[$index]); } } print(" endbfchar\\space endcmap\\space CMapName\\space currentdict\\space /CMap\\space defineresource\\space pop\\space end\\space end\\space} \\expandafter\\xdef\\csname CJK\@CMap\@${fontname}v\\endcsname{ \\the\\pdflastobj} \\fi \\pdffontattr\\font\@name{ /ToUnicode\\space\\csname CJK\@CMap\@${fontname}v\\endcsname\\space 0\\space R} } \\endinput "); } # Read an AGL file. # # $1: Name of the AGL file. # $2: Reference to the target hash file, mapping from the glyph name # to the Unicode value. sub read_aglfile { my ($aglfile, $aglhash) = @_; print("Reading Adobe Glyph List file \`$aglfile'...\n"); open(AGL, $aglfile) || die("$prog: can't open \`$aglfile': $!\n"); while () { chop; next if /^\s*$/; next if /^#/; my @field = split(";"); $aglhash->{$field[1]} = hex($field[0]); } close(AGL); } # Read an SFD file. # # $1: Name of the SFD file. # $2: Reference to the target array file, mapping from the character code # to the subfont index. The format of an array value is the # concatenation of the subfont suffix, a slash, and the index. sub read_sfdfile { my ($sfdfile, $sfdarray) = @_; print("Reading subfont definition file \`$sfdfile'...\n"); open(SFD, $sfdfile) || die("$prog: can't open \`$sfdfile': $!\n"); my $line; my $continuation = 0; while () { chop; next if /^\s*$/; next if /^#/; if ($continuation) { $line .= $_; } else { $line = $_; } $continuation = 0; if ($line =~ s/\\$//) { $continuation = 1; next; } $_ = $line; my @field = split(" "); my $suffix = $field[0]; shift(@field); my $index = 0; while (@field) { if ($field[0] =~ /(.*):$/) { $index = $1; } elsif ($field[0] =~ /(.*)_(.*)/) { my $start = $1; my $end = $2; $start = oct($start) if ($start =~ /^0/); $end = oct($end) if ($end =~ /^0/); foreach my $i ($start .. $end) { $sfdarray->[$i] = "$suffix/$index"; $index++; } } else { my $value = $field[0]; $value = oct($value) if ($value =~ /^0/); $sfdarray->[$value] = "$suffix/$index"; $index++; } shift(@field); } } close(SFD); } # Read an AFM file. # # $1: Name of the AFM file. # $2: Reference to array which maps glyph indices to glyph names. sub read_afmfile { my ($afmfile, $maparray) = @_; print("Reading metrics file \`$afmfile'\n"); open(AFM, $afmfile) || die("$prog: can't open \`$afmfile': $!\n"); while () { if (/^C \d+ ;/) { / N (.*?) ;/; push (@$maparray, $1); } } close(AFM); } # eof latex-cjk-chinese-arphic-1.23/debian/latex-cjk/uni2sfd.pl0000755000000000000000000001655111750010341020105 0ustar #! /usr/bin/perl -w # # This script creates virtual subfonts in a font encoding given by a subfont # definition file, based on Unicode subfonts. # # As prerequisites, it needs the programs `tftopl' and `vptovf' which must # be in the path. # # Call the script as # # perl uni2sfd.pl uni-namestem sfd-file namestem codingscheme # # `uni-namestem' is the namestem of the Unicode subfonts; `uni2sfd.pl' # appends the Unicode suffixes and reads the corresponding TFM files. # `sfd-file' is the subfont definition file which maps Unicode input # characters to the target subfont scheme using `namestem' as the namestem. # `codingscheme' gives the value for the CODINGSCHEME parameter in the # VF files (always converted to uppercase). # # Example: # # perl uni2sfd.pl bsmiu UBig5.sfd bsmilp cjkbig5 # # A collection of useful subfont definition files for CJK fonts can be found # in the ttf2pk package. # Copyright (C) 1994-2008 Werner Lemberg # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program in doc/COPYING; if not, write to the Free # Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, # MA 02110-1301 USA use strict; my $prog = $0; $prog =~ s@.*/@@; if ($#ARGV != 3) { die("usage: $prog uni-namestem sfd-file namestem codingscheme\n"); } my $uninamestem = $ARGV[0]; my $sfdfile = $ARGV[1]; my $namestem = $ARGV[2]; my $codingscheme = $ARGV[3]; # Read subfont definition file. my %sfd; my @subfonts; read_sfdfile($sfdfile, \%sfd, \@subfonts); # Read TFM files. my @unimetrics; foreach my $sub (0 .. 0xFF) { my $suffix = sprintf("%02x", $sub); my $tfmname = "$uninamestem$suffix.tfm"; if (-f $tfmname) { read_tfmfile($tfmname, \@unimetrics, $suffix); } } # Write VPL files. foreach my $sub (@subfonts) { my @entries; foreach my $i (0 .. 255) { if (defined ($sfd{"$sub $i"})) { my $index = $sfd{"$sub $i"}; if (defined ($unimetrics[$index])) { push(@entries, "$i $index $unimetrics[$index]"); } } } if ($#entries >= 0) { write_vplfile("$namestem$sub.vpl", \@entries); } } # Generate VF and TFM files, then remove the VPL files. my @vplfiles = glob("$namestem*.vpl"); foreach my $vplfile (@vplfiles) { print("Processing \`$vplfile'...\n"); my $arg = "vptovf $vplfile"; system($arg) == 0 || die("$prog: calling \`$arg' failed: $?\n"); print("Removing \`$vplfile'...\n"); unlink($vplfile); } # Read an SFD file. # # $1: Name of the SFD file. # $2: Reference to the target hash file, mapping from the character code # to the subfont index. The format of the key value is the # concatenation of the subfont suffix, a space, and the index. # $3: Reference to a target array which holds the subfont suffixes. sub read_sfdfile { my ($sfdfile, $sfdhash, $sfdarray) = @_; print("Reading subfont definition file \`$sfdfile'...\n"); open(SFD, $sfdfile) || die("$prog: can't open \`$sfdfile': $!\n"); my $line; my $continuation = 0; while () { chop; next if /^\s*$/; next if /^#/; if ($continuation) { $line .= $_; } else { $line = $_; } $continuation = 0; if ($line =~ s/\\$//) { $continuation = 1; next; } $_ = $line; my @field = split(" "); my $suffix = $field[0]; push(@{$sfdarray}, $suffix); shift(@field); my $index = 0; while (@field) { if ($field[0] =~ /(.*):$/) { $index = $1; } elsif ($field[0] =~ /(.*)_(.*)/) { my $start = $1; my $end = $2; $start = oct($start) if ($start =~ /^0/); $end = oct($end) if ($end =~ /^0/); foreach my $i ($start .. $end) { $sfdhash->{"$suffix $index"} = $i; $index++; } } else { my $value = $field[0]; $value = oct($value) if ($value =~ /^0/); $sfdhash->{"$suffix $index"} = $value; $index++; } shift(@field); } } close(SFD); } # Read TFM file. # # $1: Name of the TFM file. # $2: Reference to the target array holding metric information in the form # ` '. # $3: Subfont suffix. sub read_tfmfile { my ($tfmfile, $unicarray, $suffix) = @_; print("Processing metrics file \`$tfmfile'...\n"); my $arg = "tftopl $tfmfile > $tfmfile.pl"; system($arg) == 0 || die("$prog: calling \`$arg' failed: $?\n"); print("Reading property list file \`$tfmfile.pl'...\n"); open(PL, "$tfmfile.pl") || die("$prog: can't open \`$tfmfile.pl': $!\n"); while () { my $idx; if (/^\(CHARACTER O (\d+)/) { $idx = oct($1); } elsif (/^\(CHARACTER C (.)/) { $idx = ord($1); } else { next; } $idx += hex($suffix) * 256; my $wd = "0"; my $ht = "0"; my $dp = "0"; $_ = ; if (/\(CHARWD R (.*)\)/) { $wd = "$1"; $_ = ; } if (/\(CHARHT R (.*)\)/) { $ht = "$1"; $_ = ; } if (/\(CHARDP R (.*)\)/) { $dp = "$1"; } $unicarray->[$idx] = "$wd $ht $dp"; } close(PL); print("Removing \`$tfmfile.pl'...\n"); unlink("$tfmfile.pl"); } # Write VPL file. # # $1: Name of the VPL file. # $2: Reference to list which holds the font entries. An entry has the # form ` '. sub write_vplfile { my ($vplfile, $glypharray) = @_; my %subfonts; my $subcount = 0; foreach my $entry (@{$glypharray}) { my @field = split(" ", $entry); my $subfont = int($field[1] / 256); if (!defined ($subfonts{$subfont})) { $subfonts{$subfont} = $subcount; $subcount++; } } print("Writing virtual property list file \`$vplfile'...\n"); open(VPL, ">", $vplfile) || die("$prog: can't open \`$vplfile': $!\n"); my $oldfh = select(VPL); print("(VTITLE Created by \`$prog " . join(" ", @ARGV) . "')\n"); print("(FAMILY TEX-\U$namestem\E)\n"); print("(CODINGSCHEME \U$codingscheme\E)\n"); print("(FONTDIMEN\n"); print(" (SPACE R 0.5)\n"); print(" (XHEIGHT R 0.4)\n"); print(" (QUAD R 1)\n"); print(" )\n"); foreach my $subfont (sort { $subfonts{$a} <=> $subfonts{$b} } keys %subfonts) { print("(MAPFONT D $subfonts{$subfont}\n"); print(" (FONTNAME $uninamestem" . sprintf("%02x", $subfont) . ")\n"); print(" )\n"); } foreach my $entry (@{$glypharray}) { my @field = split(" ", $entry); my $index = $field[0]; my $subnumber = $subfonts{int($field[1] / 256)}; my $subindex = $field[1] % 256; my $width = $field[2]; my $height = $field[3]; my $depth = $field[4]; print("(CHARACTER D $index\n"); print(" (CHARWD R $width)\n"); print(" (CHARHT R $height)\n"); print(" (CHARDP R $depth)\n"); print(" (MAP\n"); print(" (SELECTFONT D $subnumber)\n"); print(" (SETCHAR D $subindex)\n"); print(" )\n"); print(" )\n"); } close(VPL); select($oldfh); } # eof latex-cjk-chinese-arphic-1.23/debian/gkaiuvr.tfm0000644000000000000000000000021411750010341016456 0ustar # FontSpecificAR PL KaitiM GBGlatex-cjk-chinese-arphic-1.23/debian/gkaiuv.tfm0000644000000000000000000000021411750010341016274 0ustar # FontSpecificAR PL KaitiM GBGlatex-cjk-chinese-arphic-1.23/debian/gkaimpv.vp0000644000000000000000000000063211750010341016307 0ustar (VTITLE Created by `clonevf.pl gkaiuv gkaimpv') (FAMILY TEX-GKAIMPV) (FACE F MRR) (CODINGSCHEME FONTSPECIFIC) (DESIGNSIZE R 10.0) (COMMENT DESIGNSIZE IS IN POINTS) (COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE) (CHECKSUM O 100000400) (SEVENBITSAFEFLAG TRUE) (FONTDIMEN (SLANT R 0.0) (SPACE R 0.33) (STRETCH R 0.165) (SHRINK R 0.11) (XHEIGHT R 0.0) (QUAD R 1.0) (EXTRASPACE R 0.11) ) latex-cjk-chinese-arphic-1.23/debian/gkaiuv.pl0000644000000000000000000000051611750010341016126 0ustar (FAMILY AR PL KAITIM GB) (FACE F MRR) (CODINGSCHEME FONTSPECIFIC) (DESIGNSIZE R 10.0) (COMMENT DESIGNSIZE IS IN POINTS) (COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE) (CHECKSUM O 0) (FONTDIMEN (SLANT R 0.0) (SPACE R 0.33) (STRETCH R 0.165) (SHRINK R 0.11) (XHEIGHT R 0.0) (QUAD R 1.0) (EXTRASPACE R 0.11) ) latex-cjk-chinese-arphic-1.23/debian/gbsnuv.pfb.uu0000644000000000000000000000770111750010341016733 0ustar begin 644 gbsnuv.pfb M@`&"!0``)2%04RU!9&]B949O;G0M,2XP.B!G8G-N=78@,BXQ,0HE)51I=&QE M.B!G8G-N=78*)59E7)I9VAT M.B`@"B5#;W!Y2!&;VYT1F]R M9V4@,C`P-C$P,3D@*&AT='`Z+R]F;VYT9F]R9V4N2]G8G-N=78@:VYO=VY[+V=B&-H+T9O;G14>7!E(&=E="`Q(&5Q(&%N9'U[<&]P(&9A M;'-E?6EF96QS90I[V9A;'-E?6EF M96QS90HQ,B!D:6-T(&)E9VEN"B]&;VYT5'EP92`Q(&1E9@HO1F]N=$UA=')I M>"!;,"XP,#$@,"`P(#`N,#`Q(#`@,"!=S`@,"`P(#`@?7)E861O;FQY(&1E M9@HO56YI<75E240@-#(R-C,Y.2!D968*+UA5240@6S$P,C$@-30U(#(P,#,V M.3@R,S@@,S4Q,#$Y.5T@9&5F"B]086EN=%1Y<&4@,"!D968*+T9O;G1);F9O M(#$Q(&1I8W0@9'5P(&)E9VEN"B`O=F5R7)I9VAT(#$Y.30M,3DY.2P@ M07)P:&EC(%1E8VAN;VQO9WD@0V\N+"!,=&0N7#`Q,EPP,3)697)T:6-A;"!G M;'EP:"!R97!R97-E;G1A=&EO;G,@=F5R7!H(')E<')E M4YA;64@*$%2(%!,(%-U;F=T:4P@1T(I(')E861O;FQY(&1E9@H@+U=E:6=H M="`H0F]O:RD@7!E(#0@9&5F"B`O271A;&EC M06YG;&4@,"!D968*("]I&5D4&ET8V@@=')U92!D968*("]5;F1ER*+-S:Q=.4V:2 M8QH5BZ3*4UXN8<)(PEV.*SVJ/4^@D>E?&V;VT$97KY(&JBV*TWXQER_BOR,B M97^1(),P>:5(Z9>X(N2+(>SE-[`=A0Q/N+@YF&(C0_WDBY+#T:16#.OTIRH?*<7>!&Y:8DY'?4^J01MHFTM#?6M1"028-_;CVD&PXO8RL,2)&ATMMT4&B]%(U5MH[3I]'?L;0+LKIT\9CKM M\A?;'9LK"0?J%L1RX(/?.M(XJE++\?`2]#3/`.7H]'&- M_^EO.!;-^8>2V%20)N$P4C`5JMB2>R-YRV"3QZ,J;LEGR5C4#!T8\9?56[,[ M&O/]QAR`FJ"+)WFY:^[_$?ZTR;N;;P@&_9'%A=6HW\O;)E0U"Q28XZXR95;2G2]R4H\*DF7L0%B&("3L\L!8BTS[U.%BYSK$147?"B"+_$<*M2HSX/5BJ/X% MWY!KZ[1ZQ.@(@TZEX?(?B^:7+W7ZM$\34HE#:D:5+[%7'FCHZZ^G`.BF1=M) M_L<)!,\%B(O&'X&=QZ`6>%BSF?149'Z`+KR2FC&^'7P%[&7:IW8F87]%:B)> M`-0-'(N_",AYO";_"1E&V1JP#>4O8(75&!'@3`7AQ.KV;==-G_O M?L^M&M'YIA>6E/TB2[4O(2%7C*HQ-$B4X-^\C%N!D)5663;XSOR<6]XLH[Y7 M&SS(J\$&M:0/3;_&ZOF``2$"```*,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,`HP,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P"C`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`*,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,`HP,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P"C`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`*,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,`HP,#`P,#`P,#`P,#`P,#`P,#`P M,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P,#`P ;"F-L96%R=&]M87)K"GMR97-T;W)E?6EF"H`# ` end latex-cjk-chinese-arphic-1.23/debian/gbsnlpv.vp0000644000000000000000000000063211750010341016324 0ustar (VTITLE Created by `clonevf.pl gbsnuv gbsnlpv') (FAMILY TEX-GBSNLPV) (FACE F MRR) (CODINGSCHEME FONTSPECIFIC) (DESIGNSIZE R 10.0) (COMMENT DESIGNSIZE IS IN POINTS) (COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE) (CHECKSUM O 100000400) (SEVENBITSAFEFLAG TRUE) (FONTDIMEN (SLANT R 0.0) (SPACE R 0.33) (STRETCH R 0.165) (SHRINK R 0.11) (XHEIGHT R 0.0) (QUAD R 1.0) (EXTRASPACE R 0.11) ) latex-cjk-chinese-arphic-1.23/debian/font.fd.in0000644000000000000000000000125611750014014016174 0ustar % This is the file c@NFSS_FONTENCODING@@NAMESTEM@.fd of the CJK package % for using Asian logographs (Chinese/Japanese/Korean) with LaTeX2e % % created by the Debian source package for CJK Version 4.8.1 (3-Oct-2008). \def\fileversion{4.8.1} \def\filedate{2008/10/03} \ProvidesFile{@PROVIDESFILE@}[\filedate\space\fileversion] % character set: @ENCODING@ % font encoding: @FONTENCODING@ % @FAMILYNAME@ \DeclareFontFamily{C@NFSS_FONTENCODING@}{@NAMESTEM@}{\hyphenchar \font\m@ne} \DeclareFontShape{C@NFSS_FONTENCODING@}{@NAMESTEM@}{m}{n}{<-> CJK * @SUBNAMESTEM@}{\CJKnormal} \DeclareFontShape{C@NFSS_FONTENCODING@}{@NAMESTEM@}{bx}{n}{<-> CJKb * @SUBNAMESTEM@}{\CJKbold} \endinput latex-cjk-chinese-arphic-1.23/debian/rules0000755000000000000000000002371412165570634015411 0ustar #!/usr/bin/make -f # -*- makefile -*- # debian/rules file # GNU GPL v2 or higher, Copyright (C) 2005-2012, Danai SAE-HAN (韓達耐) # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # Support parallel builds when available. # Cfr. Debian bugs #209008 and #458740. ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) MAKEFLAGS += -j$(NUMJOBS) endif # Arphic PL fonts information fonts = bsmi bkai gbsn gkai bsmi_typeface = bsmi00lp bsmi_namestem = bsmi bsmi_sfdnamestem = bsmilp bsmi_uninamestem = bsmiu bsmi_familyname = AR PL Mingti2L Big5 bsmi_encoding = UBig5 bsmi_hoffset = -0.12em bsmi_vertical = yes bkai_typeface = bkai00mp bkai_namestem = bkai bkai_sfdnamestem = bkaimp bkai_uninamestem = bkaiu bkai_familyname = AR PL KaitiM Big5 bkai_encoding = UBig5 bkai_hoffset = -0.12em bkai_vertical = yes gbsn_typeface = gbsn00lp gbsn_namestem = gbsn gbsn_sfdnamestem = gbsnlp gbsn_uninamestem = gbsnu gbsn_familyname = AR PL SungtiL GB gbsn_encoding = UGB gbsn_hoffset = -0.12em gbsn_vertical = no gkai_typeface = gkai00mp gkai_namestem = gkai gkai_sfdnamestem = gkaimp gkai_uninamestem = gkaiu gkai_familyname = AR PL KaitiM GB gkai_encoding = UGB gkai_hoffset = -0.12em gkai_vertical = no cjk_fontencoding = 0 UBig5_planes = 55 UBig5_inputencoding = 0 UBig5_texinput = usr/share/texmf/tex/latex/CJK/Bg5/ UBig5_codingscheme = cjkbig5 UGB_planes = 35 UGB_inputencoding = 1 UGB_texinput = usr/share/texmf/tex/latex/CJK/GB/ UGB_codingscheme = cjkgb fonttype = truetype supplier = arphic typeface = $($(abbrev)_typeface) familyname = $($(abbrev)_familyname) encoding = $($(abbrev)_encoding) namestem = $($(abbrev)_namestem) sfdnamestem = $($(abbrev)_sfdnamestem) uninamestem = $($(abbrev)_uninamestem) planes = $($(encoding)_planes) nfss_fontencoding = $($(encoding)_inputencoding)$(cjk_fontencoding) codingscheme = $($(encoding)_codingscheme) bin-package = latex-cjk-chinese-$(supplier)-$(typeface) binary_fonts = $(addprefix binary_,$(fonts)) build-stamp_fonts = $(addprefix build-stamp.,$(fonts)) install_fonts = $(addprefix install_,$(fonts)) clean_fonts = $(addprefix clean_,$(fonts)) vertical = $($(abbrev)_vertical) # Path names d = debian/$(bin-package) texmf = usr/share/texmf fontpath = usr/share/fonts/$(fonttype) dest_texfontpath = $(texmf)/fonts/$(fonttype)/$(supplier) dest_afmpath = $(texmf)/fonts/afm/$(supplier)/$(uninamestem) dest_type1path = $(texmf)/fonts/type1/$(supplier)/$(uninamestem) dest_uni-tfmpath = $(texmf)/fonts/tfm/$(supplier)/$(uninamestem) dest_sfd-tfmpath = $(texmf)/fonts/tfm/$(supplier)/$(sfdnamestem) dest_vfpath = $(texmf)/fonts/vf/$(supplier)/$(namestem) dest_docpath = usr/share/doc/texmf/fonts/$(fonttype)/$(supplier) dest_fd = $($(encoding)_texinput) builddir = build/$(typeface) sfddir = /usr/share/texlive/texmf-dist/fonts/sfd/ttf2pk # Since Debian standards version 3.9.4 the build-* targets are # required. This package does not compile any programs, it # only converts fonts from one format to another. # Hence I deem it more useful to keep the whole font-building # process in the corresponding "binary-*" targets. build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: $(build-stamp_fonts) dh_testdir # Add here commands to compile the package. touch build-stamp $(build-stamp_fonts): abbrev = $(patsubst build-stamp.%,%,$@) $(build-stamp_fonts): dh_testdir mkdir -p $(builddir) ( cd $(builddir) && ln -s /$(fontpath)/$(supplier)-$(typeface)/$(typeface).ttf && cp ../../debian/latex-cjk/* . ) # You will find a detailed log of the build process in $(builddir)/log. # Create Unicode encoded subfonts `$(uninamestem)00' .. `$(uninamestem)ff'. # This will take a lot of hours. Make yourself a nice day. ( cd $(builddir) && fontforge -script subfonts.pe $(typeface).ttf $(uninamestem) $(sfddir)/Unicode.sfd ) @echo # Create font `$(uninamestem)v' with all vertical glyph representation forms. if [ $(vertical) = "yes" ]; \ then ( cd $(builddir) && fontforge -script vertical.pe $(typeface).ttf $(uninamestem)v ); \ fi @echo # Create font `$(uninamestem)vr' which has the same structure as `$(uninamestem)v', # but normal glyphs instead of vertical representation forms. if [ $(vertical) = "yes" ]; \ then ( cd $(builddir) && fontforge -script vertref.pe $(typeface).ttf $(uninamestem)vr ); \ fi @echo # Create a virtual font `$(sfdnamestem)v' which is a clone of `$(uninamestem)v'. if [ $(vertical) = "yes" ]; \ then ( cd $(builddir) && perl clonevf.pl $(uninamestem)v $(sfdnamestem)v ); \ fi @echo # Temporary fix to create vertical files for gkai and gbsn. # It builds gkaimpv.tfm AND gkaimpv.vp.tfm. But no vertical form. # Bug to be fixed. if [ $(vertical) = "no" ]; \ then ( cp debian/$(sfdnamestem)v.vp debian/$(uninamestem)* $(builddir)/ && \ cd $(builddir) && \ for i in *.uu; do uudecode $$i; done && \ vptovf $(sfdnamestem)v.vp $(sfdnamestem)v.vf $(sfdnamestem)v.tfm && \ pltotf $(uninamestem)v.pl $(uninamestem)v.tfm ); \ fi # Create virtual fonts `$(sfdnamestem)00' .. `$(sfdnamestem)$(planes)' in $(encoding) encoding # which use Unicode encoded `$(uninamestem)XX' subfonts as raw fonts # and `$(codingscheme)' as the `CODINGSCHEME' parameter value. ( cd $(builddir) && perl uni2sfd.pl $(uninamestem) $(sfddir)/$(encoding).sfd $(sfdnamestem) $(codingscheme) ) @echo # Create entries for the extended font definition file # `c$(nfss_fontencoding)$(namestem).fdx' (which uses $(encoding) encoding), with `$(uninamestem)vr' as # the reference font. ( cd $(builddir) && perl makefdx.pl $(uninamestem)vr.afm $(sfddir)/$(encoding).sfd c$(nfss_fontencoding) $(namestem) ) @echo # Create entries for the extended font definition file # `c70$(namestem).fdx' (which uses Unicode encoding), with `$(uninamestem)vr' as # the reference font. ( cd $(builddir) && perl makefdx.pl -u $(uninamestem)vr.afm $(sfddir)/Unicode.sfd c70 $(namestem) ) @echo # Remove the *.enc files; they're not used. ( cd $(builddir) && rm -f *.enc ) @echo # Create a Type1 font map. @( cd $(builddir) && for filename in *.pfb; do if [ $$filename != "$(uninamestem)vr.pfb" ]; then echo "$$(basename $$filename .pfb) $$(basename $$filename .pfb) <$$filename" >> $(uninamestem).map; fi; done ) @echo # Create entries for the font definition file # `c$(nfss_fontencoding)$(namestem).fd' (which uses $(encoding) encoding). @cd debian && \ sed -e 's/@NFSS_FONTENCODING@/$(nfss_fontencoding)/g' \ -e 's/@NAMESTEM@/$(namestem)/g' \ -e 's/@ENCODING@/$(encoding)/g' \ -e 's/@FONTENCODING@/$(encoding)/g' \ -e 's/@FAMILYNAME@/$(familyname)/g' \ -e 's/@SUBNAMESTEM@/$(sfdnamestem)/g' \ -e 's/@PROVIDESFILE@/c$(nfss_fontencoding)$(namestem).fd/g' \ font.fd.in > ../$(builddir)/c$(nfss_fontencoding)$(namestem).fd @echo # Create entries for the font definition file # `c70$(namestem).fd' (which uses Unicode encoding). @cd debian && \ sed -e 's/@NFSS_FONTENCODING@/70/g' \ -e 's/@NAMESTEM@/$(namestem)/g' \ -e 's/@ENCODING@/$(encoding)/g' \ -e 's/@FONTENCODING@/Unicode/g' \ -e 's/@FAMILYNAME@/$(familyname)/g' \ -e 's/@SUBNAMESTEM@/$(uninamestem)/g' \ -e 's/@PROVIDESFILE@'/c70$(namestem).fd/g \ font.fd.in > ../$(builddir)/c70$(namestem).fd @echo touch $@ clean: $(clean_fonts) cat debian/control.stem.in debian/control.font.* > debian/control rm debian/control.font.* dh_testdir debian/font.fd.in debian/latex-cjk/subfonts.pe dh_testroot dh_clean rm -rf build/ $(clean_fonts): abbrev = $(patsubst clean_%,%,$@) $(clean_fonts): MY_DH_OPTIONS = -p$(bin-package) -P$(d) $(clean_fonts): # There was a possible race condition here when running with make -j, # with >> control. We append to seperate files instead. @cd debian && \ sed -e 's/@TYPEFACE@/$(typeface)/g' \ -e 's/@FAMILYNAME@/$(familyname)/g' \ control.leaf.in >> control.font.$(bin-package) @cd debian && \ sed -e 's/@ABBREV@/$(abbrev)/g' \ -e 's/@FAMILYNAME@/$(familyname)/g' \ -e 's/@TYPEFACE@/$(typeface)/g' \ copyright.in > $(bin-package).copyright dh_prep $(MY_DH_OPTIONS) rm -f build-stamp.$(abbrev) install: build $(install_fonts) $(install_fonts): abbrev = $(patsubst install_%,%,$@) $(install_fonts): MY_DH_OPTIONS = -p$(bin-package) -P$(d) $(install_fonts): dh_testdir $(MY_DH_OPTIONS) dh_testroot $(MY_DH_OPTIONS) dh_prep $(MY_DH_OPTIONS) dh_installdirs $(MY_DH_OPTIONS) binary-indep: build install $(binary_fonts) $(binary_fonts): abbrev = $(patsubst binary_%,%,$@) $(binary_fonts): MY_DH_OPTIONS = -p$(bin-package) -P$(d) $(binary_fonts): dh_testdir $(MY_DH_OPTIONS) dh_testroot $(MY_DH_OPTIONS) dh_installchangelogs $(MY_DH_OPTIONS) dh_installdocs $(MY_DH_OPTIONS) dh_installdocs debian/README.Debian $(MY_DH_OPTIONS) dh_installexamples $(MY_DH_OPTIONS) dh_install $(MY_DH_OPTIONS) $(builddir)/*.afm $(dest_afmpath)/ dh_install $(MY_DH_OPTIONS) $(builddir)/$(uninamestem)*.tfm $(dest_uni-tfmpath)/ dh_install $(MY_DH_OPTIONS) $(builddir)/$(sfdnamestem)*.tfm $(dest_sfd-tfmpath)/ dh_install $(MY_DH_OPTIONS) $(builddir)/*.pfb $(dest_type1path)/ dh_install $(MY_DH_OPTIONS) $(builddir)/*.vf $(dest_vfpath)/ dh_install $(MY_DH_OPTIONS) $(builddir)/$(uninamestem).map /usr/share/texmf/fonts/map/dvips/arphic/ dh_install $(MY_DH_OPTIONS) $(builddir)/c$(nfss_fontencoding)$(namestem).fd* $(dest_fd)/ dh_install $(MY_DH_OPTIONS) $(builddir)/c70$(namestem).fd* usr/share/texmf/tex/latex/CJK/UTF8/ dh_link $(MY_DH_OPTIONS) dh_installtex $(MY_DH_OPTIONS) --flavor=map:config_for_all_maps map=Map,$(uninamestem).map dh_strip $(MY_DH_OPTIONS) dh_compress $(MY_DH_OPTIONS) dh_fixperms $(MY_DH_OPTIONS) dh_perl $(MY_DH_OPTIONS) dh_installdeb $(MY_DH_OPTIONS) dh_gencontrol $(MY_DH_OPTIONS) dh_md5sums $(MY_DH_OPTIONS) dh_builddeb $(MY_DH_OPTIONS) # Build architecture-dependent files here. binary-arch: build install # We have nothing to do by default. binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install\ build-arch build-indep\ $(fonts) $(install_fonts) $(binary_fonts) $(clean_fonts) latex-cjk-chinese-arphic-1.23/debian/gbsnuvr.pl0000644000000000000000000000051711750010341016327 0ustar (FAMILY AR PL SUNGTIL GB) (FACE F MRR) (CODINGSCHEME FONTSPECIFIC) (DESIGNSIZE R 10.0) (COMMENT DESIGNSIZE IS IN POINTS) (COMMENT OTHER SIZES ARE MULTIPLES OF DESIGNSIZE) (CHECKSUM O 0) (FONTDIMEN (SLANT R 0.0) (SPACE R 0.33) (STRETCH R 0.165) (SHRINK R 0.11) (XHEIGHT R 0.0) (QUAD R 1.0) (EXTRASPACE R 0.11) ) latex-cjk-chinese-arphic-1.23/debian/TODO.Debian0000644000000000000000000000447111750010341016160 0ustar * dh_installtexfonts from the updated tetex-common (>=0.13) automatically adds config.{bsmi,bkai,gbsn,gkai} to dvips. Now "dvips -P bsmi" will also work, even if you have disabled the map files with updmap-sys. CHECK THIS ONCE MORE. If so, then suggest an addition to the manual pages, if this feature hasn't been explained. * Make a new README.Developers file as suggested by Norbert Preining and Frank Küster. Browse through the tex-maint ML again. This file should help other developers who wish to add fonts for the CJK package. Merge the info about Cyberbit (in "cjk") and Arphic GBK (in this package) into a single README file. * Use dpatch, since I have locally changed makefdx.pl to include the \CJKhdef option. * Check whether \CJKhdef should be set to -.12em. Upstream, Werner has set it to -.06em. Perhaps he used Chinese text with some Latin text in between. But problems arise with vertical glyphs. * [latex-cjk/makefdx.pl] Make use of CJKhdef, an option to vertically shift the Arphic fonts. With this option set to -0.12em, Arphic fonts should look alright between Latin text, parentheses and brackets. However, you will need to use "\usepackage{CJKvert}\CJKhorz" in your package in order to get this effect. This behaviour *might* change in the future, though. Problem however: normal vertical text also gets shifted horizontally. TODO * What to do with the .afm files? gzip them, or don't install them at all? * fontforge -script vertical.pe gbsnu/gkaiu doesn't provide gbsnuv/gkaiuv. Log: fontforge -script vertical.pe gbsn00lp.ttf gbsnuv Copyright (c) 2000-2008 by George Williams. Executable based on sources from 16:34 GMT 30-Mar-2008. Library based on sources from 15:57 GMT 30-Mar-2008. Loading gbsn00lp.ttf... Bad lookup table: format=6, first=65535 total glyphs in font=7764 No vertical glyph representation forms found. Check Werner Lemberg's postings a few months ago, and see what the problem was with Arphic's GSUB tables (does it even contain them?). TODO If nothing can be done, remove vertical support for simplified Chinese. It should bail out cleanly. Or use a conditional statement to ignore gkai and gbsn. BTW, this will be resolved when you switch to Arne Götje's fonts. latex-cjk-chinese-arphic-1.23/debian/copyright.in0000644000000000000000000002031712164115775016665 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Files: debian/* Copyright: 2005-2013 Danai SAE-HAN (韓達耐) License: GPL-2+ Files: debian/{gbsn,gkai}* Copyright: 1999 Arphic Technolocy Co., Ltd. License: ARPHIC PUBLIC LICENSE Files: debian/latex-cjk/* Copyright: 1994-2012 Werner Lemberg Source: http://cjk.ffii.org/ License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: ARPHIC PUBLIC LICENSE Copyright (C) 1999 Arphic Technology Co., Ltd. 11Fl. No.168, Yung Chi Rd., Taipei, 110 Taiwan All rights reserved except as specified below. . Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is forbidden. . Preamble . The licenses for most software are designed to take away your freedom to share and change it. By contrast, the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this software, provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software. . Legal Terms . 0. Definitions: Throughout this License, "Font" means the TrueType fonts "AR PL Mingti2L Big5", "AR PL KaitiM Big5" (BIG-5 character set) and "AR PL SungtiL GB", "AR PL KaitiM GB" (GB character set) which are originally distributed by Arphic, and the derivatives of those fonts created through any modification including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table. . "PL" means "Public License". . "Copyright Holder" means whoever is named in the copyright or copyrights for the Font. . "You" means the licensee, or person copying, redistributing or modifying the Font. . "Freely Available" means that you have the freedom to copy or modify the Font as well as redistribute copies of the Font under the same conditions you received, not price. If you wish, you can charge for this service. . 1. Copying & Distribution You may copy and distribute verbatim copies of this Font in any medium, without restriction, provided that you retain this license file (ARPHICPL.TXT) unaltered in all copies. . 2. Modification You may otherwise modify your copy of this Font in any way, including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table, and copy and distribute such modifications under the terms of Section 1 above, provided that the following conditions are met: . a) You must insert a prominent notice in each modified file stating how and when you changed that file. . b) You must make such modifications Freely Available as a whole to all third parties under the terms of this License, such as by offering access to copy the modifications from a designated place, or distributing the modifications on a medium customarily used for software interchange. . c) If the modified fonts normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the Font under these conditions, and telling the user how to view a copy of this License. . These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Font, and can be reasonably considered independent and separate works in themselves, then this License and its terms, do not apply to those sections when you distribute them as separate works. Therefore, mere aggregation of another work not based on the Font with the Font on a volume of a storage or distribution medium does not bring the other work under the scope of this License. . 3. Condition Subsequent You may not copy, modify, sublicense, or distribute the Font except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Font will automatically retroactively void your rights under this License. However, parties who have received copies or rights from you under this License will keep their licenses valid so long as such parties remain in full compliance. . 4. Acceptance You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to copy, modify, sublicense or distribute the Font. These actions are prohibited by law if you do not accept this License. Therefore, by copying, modifying, sublicensing or distributing the Font, you indicate your acceptance of this License and all its terms and conditions. . 5. Automatic Receipt Each time you redistribute the Font, the recipient automatically receives a license from the original licensor to copy, distribute or modify the Font subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. . 6. Contradiction If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Font at all. For example, if a patent license would not permit royalty-free redistribution of the Font by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Font. . If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. . 7. NO WARRANTY BECAUSE THE FONT IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE FONT, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS OR OTHER PARTIES PROVIDE THE FONT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE FONT IS WITH YOU. SHOULD THE FONT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. . 8. DAMAGES WAIVER UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, IN NO EVENT WILL ANY COPYRIGHTT HOLDERS, OR OTHER PARTIES WHO MAY COPY, MODIFY OR REDISTRIBUTE THE FONT AS PERMITTED ABOVE, BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR EXEMPLARY DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE FONT (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS INTERRUPTION), EVEN IF SUCH HOLDERS OR OTHER PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. latex-cjk-chinese-arphic-1.23/debian/gkaiuvr.pfb.uu0000644000000000000000000000771611750010341017105 0ustar begin 644 gkaiuvr.pfb M@`&+!0``)2%04RU!9&]B949O;G0M,2XP.B!G:V%I=79R(#(N,3$*)254:71L M93H@9VMA:75V<@HE5F5R7)I9VAT.B`H8RD@0V]P>7)I9VAT(#$Y M.30M,3DY.2P@07)P:&EC(%1E8VAN;VQO9WD@0V\N+"!,=&0N"B5#;W!Y7!H(')E9F5R96YC92!F M;VYT('9E&-H+T9O;G14>7!E(&=E="`Q(&5Q(&%N9'U[<&]P M(&9A;'-E?6EF96QS90I[V9A;'-E M?6EF96QS90HQ,B!D:6-T(&)E9VEN"B]&;VYT5'EP92`Q(&1E9@HO1F]N=$UA M=')I>"!;,"XP,#$@,"`P(#`N,#`Q(#`@,"!=2!D968*+U5N:7%U94E$(#0Q-3,U.3`@9&5F"B]854E$(%LQ,#(Q(#,S-"`V M-S8W-S@T,C$@,S,Q-C4V-UT@9&5F"B]086EN=%1Y<&4@,"!D968*+T9O;G1) M;F9O(#$Q(&1I8W0@9'5P(&)E9VEN"B`O=F5R7)I9VAT(#$Y.30M,3DY M.2P@07)P:&EC(%1E8VAN;VQO9WD@0V\N+"!,=&0N7#`Q,EPP,3)697)T:6-A M;"!G;'EP:"!R969E2!D968*)2`H8RD@0V]P>7)I9VAT(#$Y.30M,3DY.2P@07)P:&EC M(%1E8VAN;VQO9WD@0V\N+"!,=&0N"B4@"B4@5F5R=&EC86P@9VQY<&@@2!D M968*("]&86UI;'E.86UE("A!4B!03"!+86ET:4T@1T(I(')E861O;FQY(&1E M9@H@+U=E:6=H="`H0F]O:RD@7!E(#0@9&5F M"B`O271A;&EC06YG;&4@,"!D968*("]I&5D4&ET8V@@=')U92!D968* M("]5;F1ER M*+-S:Q=.4V:28QH5BZ3*4UXN8<)(PEV.*SVJ/4^@D>E?&V;VT$97KY(&JBV* MTWXQER_BOR,B97^1(),P>:5(Z9>X(N2+(>SE-[`=A0Q/N+@YF&(C0_WDBY+# MT:16#.OTIRH?*<7>!&Y:8DY'?4^J01MHFTM#?6M1"028-_;CVD&PXO8RL,2)&ATMMT4&B]%(U5N:A6URYKL M&`;9Y?6U$3?39>Y9].%;N[$=FQE#=06BFEL@(72W!B3.)L6:0]M9G"SB=UO: M.13V09-AN35UTJ**>;<+9Z0.]@O"6&A@ITXG2F%FN?#(3V79V(HK>'1&/SMI M'M8HC9>WT4B!@Z2<*-NW$T9'*U^];R1*M;[**KQ_.V,-8RQ;Q8W`V)V:S&TM M:K.!1%5,K.])4:HVWSKKBH/Z7D/3'(.`6<;.!1O"C+,]M5\L0#7;,-0H,8$3 M6Y.=08BXS_5&48VC+$)_HCWT0[[G1]CY9468UE8`<)@&S/PC`C+H/,`!0+3P M:4G17:@TL_C+1D-8^+Y$F3Z57+<["#7''7!YTR)@WMP'&YP';'6N,=<)0@M) M`/PY&"QN'V7O(FTKAD,H^@C;7?[_YRUU;,P=R2O3BZG<_YRW MSQK(.[JC`(-B+`3__`D*]9,0PR\YTO=S?\VGAJAAY^`_/O7>J($PCF5=I%XX M',1N7^(_^D7"-,3V:_^R@I69]WF0=PZ_FG:5W^4G[L*7?OJZ6S099@T'GW'1 M7]WA<,1Z1VS0Q;H53,"?,30I84%Y`7D"\#=[P=F"5^5#K789-X-RCC#P`;.4 M`==-/#X1/W\-O5<68Z9)5GC>=4KPKM;]=Q$J=AW)T7A^+-(3==P'F)=BFSF& MQJ(-,:>K\]F3=%T+KM1,T=*YK*&BB%*!QJG%WP$CI`"6"`S.]$`V,KT]O4UG M&_,5QM[:`#1YGK`MLXC1PK1Z)F.S MO6A;YZ]W%H[?&2B-&^I.B>YTT@E&N2PJ=0;:; Source: http://cjk.ffii.org/ License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: ARPHIC PUBLIC LICENSE Copyright (C) 1999 Arphic Technology Co., Ltd. 11Fl. No.168, Yung Chi Rd., Taipei, 110 Taiwan All rights reserved except as specified below. . Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is forbidden. . Preamble . The licenses for most software are designed to take away your freedom to share and change it. By contrast, the ARPHIC PUBLIC LICENSE specifically permits and encourages you to use this software, provided that you give the recipients all the rights that we gave you and make sure they can get the modifications of this software. . Legal Terms . 0. Definitions: Throughout this License, "Font" means the TrueType fonts "AR PL Mingti2L Big5", "AR PL KaitiM Big5" (BIG-5 character set) and "AR PL SungtiL GB", "AR PL KaitiM GB" (GB character set) which are originally distributed by Arphic, and the derivatives of those fonts created through any modification including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table. . "PL" means "Public License". . "Copyright Holder" means whoever is named in the copyright or copyrights for the Font. . "You" means the licensee, or person copying, redistributing or modifying the Font. . "Freely Available" means that you have the freedom to copy or modify the Font as well as redistribute copies of the Font under the same conditions you received, not price. If you wish, you can charge for this service. . 1. Copying & Distribution You may copy and distribute verbatim copies of this Font in any medium, without restriction, provided that you retain this license file (ARPHICPL.TXT) unaltered in all copies. . 2. Modification You may otherwise modify your copy of this Font in any way, including modifying glyph, reordering glyph, converting format, changing font name, or adding/deleting some characters in/from glyph table, and copy and distribute such modifications under the terms of Section 1 above, provided that the following conditions are met: . a) You must insert a prominent notice in each modified file stating how and when you changed that file. . b) You must make such modifications Freely Available as a whole to all third parties under the terms of this License, such as by offering access to copy the modifications from a designated place, or distributing the modifications on a medium customarily used for software interchange. . c) If the modified fonts normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the Font under these conditions, and telling the user how to view a copy of this License. . These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Font, and can be reasonably considered independent and separate works in themselves, then this License and its terms, do not apply to those sections when you distribute them as separate works. Therefore, mere aggregation of another work not based on the Font with the Font on a volume of a storage or distribution medium does not bring the other work under the scope of this License. . 3. Condition Subsequent You may not copy, modify, sublicense, or distribute the Font except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Font will automatically retroactively void your rights under this License. However, parties who have received copies or rights from you under this License will keep their licenses valid so long as such parties remain in full compliance. . 4. Acceptance You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to copy, modify, sublicense or distribute the Font. These actions are prohibited by law if you do not accept this License. Therefore, by copying, modifying, sublicensing or distributing the Font, you indicate your acceptance of this License and all its terms and conditions. . 5. Automatic Receipt Each time you redistribute the Font, the recipient automatically receives a license from the original licensor to copy, distribute or modify the Font subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. . 6. Contradiction If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Font at all. For example, if a patent license would not permit royalty-free redistribution of the Font by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Font. . If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. . 7. NO WARRANTY BECAUSE THE FONT IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE FONT, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS OR OTHER PARTIES PROVIDE THE FONT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE FONT IS WITH YOU. SHOULD THE FONT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. . 8. DAMAGES WAIVER UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, IN NO EVENT WILL ANY COPYRIGHTT HOLDERS, OR OTHER PARTIES WHO MAY COPY, MODIFY OR REDISTRIBUTE THE FONT AS PERMITTED ABOVE, BE LIABLE TO YOU FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR EXEMPLARY DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE FONT (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA OR PROFITS; OR BUSINESS INTERRUPTION), EVEN IF SUCH HOLDERS OR OTHER PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.