[pdftex] Change font names in PDF
Bob Howlett
rhowlett at mail.usyd.edu.au
Fri May 20 15:00:10 CEST 2011
On 20/05/2011 8:42 PM, narke wrote:
> On 20 May 2011 13:58, Robert B. Howlett<rhowlett at mail.usyd.edu.au> wrote:
>> On 20/05/2011 1:09 PM, narke wrote:
>>>
>>> Will mathptmx produce TimesRoman? That's great, I will try. And, is there
>>> any other font package produce Windows-like fonts names? Thanks in
>>> advanced!
>>> On May 19, 2011 2:20 PM, "Thomas Feuerstack"<
>>> Thomas.Feuerstack at fernuni-hagen.de> wrote:
>>>>
>>>> Am 19.05.2011 04:06, schrieb narke:
>>>>
>>>> (...)
>>>>
>>>>> My question is, can I change the font names reported by my PDF
>>>>> document? -- My PDFs were generated by pdflatex.
>>>>
>>>> hmm, why don't you use other fonts at the time you're creating the PDF?
>>>> For example, \usepackage{mathmptmx} would set your document in
>>>> TimesRoman instead of Computer Modern.
>>>>
>>>> Regards - Thomas
>>>
>>
>> You could presumably also download truetype versions of the
>> cm fonts from ctan and get pdflatex to use them in preference
>> to the type 1 versions, and also install the ttf files in
>> windows/fonts
>>
>> Bob Howlett
>>
>>
>
> Hi, Bob
>
> I searched ctan, but haven't figured out how to get turetype cm. Can
> you give me web link? Also, I don't know how to make pdflatex to use
> ttf, would you please give me hint? Anyway, your idea looks like what
> I prefer, I hope I can try.
>
> Best Regards,
> woody
>
>
I haven't experimented with this for a long time ...
However, I typed
cmr10.ttf
into Google, and it found
http://www.ctan.org/tex-archive/fonts/cm/ps-type1/bakoma/ttf/
from which I downloaded cmr10.ttf (and the other cm fonts are
there too). I put cmr10.ttf in a true-type font directory in my TeX tree
and changed the line in pdftex.map that said
cmr10 CMR10 < cmr10.pfb
to
cmr10 CMR10 << cmr10.ttf
Then when I ran pdftex on a small tex file it used cmr10.ttf
rather than cmr10.pfb.
Bob
More information about the pdftex
mailing list