Make ttf2tfm find it's .sfd file (idea taken from cjk-latex-japanese)
This commit is contained in:
parent
369b377f42
commit
32b1267377
1 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2005/02/02 05:32:19 rxg Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2005/03/19 10:43:29 hubertf Exp $
|
||||
|
||||
DISTNAME= cjk-latex-chinese-20020721
|
||||
WRKSRC= ${WRKDIR}
|
||||
|
@ -27,6 +27,7 @@ TFMDIR= ${TEXMFMAIN}/fonts/tfm
|
|||
TTFDIR= ${TEXMFMAIN}/fonts/truetype
|
||||
|
||||
X11TTFDIR= ${X11PREFIX}/lib/X11/fonts/TTF
|
||||
SFDDIR= ${TEXMFMAIN}/ttf2tfm/base
|
||||
|
||||
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
|
||||
INSTALL_FILE= ${WRKDIR}/INSTALL
|
||||
|
@ -44,11 +45,11 @@ do-install:
|
|||
.for f in ${FONT_FILES}
|
||||
${LN} -fs ${X11TTFDIR}/${f}.ttf ${TTFDIR}/arphic/${f}.ttf
|
||||
${INSTALL_DATA_DIR} ${TFMDIR}/arphic/${f}
|
||||
@(cd ${TFMDIR}/arphic/${f}; \
|
||||
(cd ${TFMDIR}/arphic/${f}; \
|
||||
if [ ${f} = bkai00mp ] || [ ${f} = bsmi00lp ]; then \
|
||||
ttf2tfm ${TTFDIR}/arphic/${f} -P 3 -E 1 ${f}@UBig5@; \
|
||||
ttf2tfm ${TTFDIR}/arphic/${f} -P 3 -E 1 ${f}@${SFDDIR}/UBig5@; \
|
||||
else \
|
||||
ttf2tfm ${TTFDIR}/arphic/${f} -P 3 -E 1 ${f}@UGB@; \
|
||||
ttf2tfm ${TTFDIR}/arphic/${f} -P 3 -E 1 ${f}@${SFDDIR}/UGB@; \
|
||||
fi)
|
||||
.endfor
|
||||
|
||||
|
|
Loading…
Reference in a new issue