[pdftex] questions on adding truetype fonts
Feiyi Wang
fwang2 at yahoo.com
Fri Jul 26 07:39:27 CEST 2002
Great, your way of writing t1xyz.fd works. I will take a
look at fninstall guide. Thanks for your help.
-FY
--- Jens-Uwe Morawski <morawski at gmx.net> wrote:
> On Thu, 25 Jul 2002 14:29:50 -0700 (PDT)
> Feiyi Wang <fwang2 at yahoo.com> wrote:
>
> > Just to add another way I tried:
> >
> > \usepackage[T1]{fontenc}
> > \renewcommand{\familydefault}{xyz}
> >
> > this way, default fonts did changes, but when I used
> > \textit{}, it would't pick up the font description
> there.
> > Example: pdflatex gives:
> >
> > Warning: Font shape `T1/xyz/m/xyzi' undefined
>
> Do you have re-defined \itdefault to "xyzi"?
>
> use
> %===begin t1xyz.fd====
> \ProvidesFile{t1xyz.fd}[my private xyz font]
>
> \DeclareFontFamily{T1}{xyz}{}
>
> \DeclareFontShape{T1}{xyz}{m}{n}{
> <-> recxyz
> }{}
>
> \DeclareFontShape{T1}{xyz}{m}{it}{
> <-> recxyzi
> }{}
>
> \DeclareFontShape{T1}{xyz}{b}{n}{
> <-> recxyzb
> }{}
> \DeclareFontShape{T1}{xyz}{m}{sl}{<->ssub * xyz/m/it}{}
> \DeclareFontShape{T1}{xyz}{bx}{n}{<->ssub * xyz/b/n}{}
> %===end t1xyz.fd====
>
> then *only* re-define \rmdefault
> \renewcommand{\rmdefault}{xyz}
> and it should work.
>
> Why don't you use fontinst? I think you would like to
> read fntguide.pdf.
>
> Jens
> _______________________________________________
> pdftex mailing list
> pdftex at tug.org
> http://tug.org/mailman/listinfo/pdftex
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com
More information about the pdftex
mailing list