[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#250216: dvips do not support True Type -fonts



On Sat, 22 May 2004, +18:27:43 EEST (UTC +0300),
Atsuhito Kohda <kohda@pm.tokushima-u.ac.jp> pressed some keys:

> From: Juhapekka Tolvanen <juhtolv@cc.jyu.fi>
> Subject: Bug#250216: dvips do not support True Type -fonts
> Date: Fri, 21 May 2004 18:43:02 +0300

> > On Fri, 21 May 2004, +17:57:26 EEST (UTC +0300),
> > Hilmar Preusse <hille42@web.de> pressed some keys:

> > > Does http://www.radamir.com/tex/ttf-tex.htm not contain what you
> > > want?

> > I don't think so:

> > "This is sufficient for generating DVI file, but to view or print it,
> > there should be a raster (pk) font. MiKTeX will attempt to generate it
> > automatically with new utility: ttf2pk. For successful generation ttf2pk
> > should find both TrueType font and encoding file. It happens that ttf2pk
> > can find ttf files, if they are installed and are in a system fonts
> > directory, and it looks for encoding files in a directory
> > c:\texmf\pdftex\base\ (among others)."

> Hmm, I'm very confused.

Hmm... looks a little bit confusing. It seems in MikTeX dvips uses
encoding files of pdfTeX. BTW I use teTeX under Debian GNU/Linux.

>  I found the statement;

> As you can see, this time pdftex has found winfonts.map and 
> embeded encodingg file T1-WGL4.enc and TrueType fonts times.ttf 
> and timesbd.ttf into resulting PDF document. 

> Is this not what you want?  Anyway, 

That is not what I want. pdfTeX already knows, how to embed TrueType
fonts to resulting PDF-file. You just need to create TeX font metrics
and font map. There is no need to convert that font to Type 1 at all.

> > > > what I want is a possibility to use those font under normal
> > > > (La)TeX, too. And in normal (La)TeX it must be done via dvips.

> I have an impression that the above your request is a bit
> ambiguous...

> To use TrueType fonts under (La)TeX should be fairy easy
> as the above URL showed and it is a quite another (or different)
> issue to use TrueType font for printing or previewing.

> Please elaborate your request if possible.

To be exact, I want those TrueType fonts embedded to PostScript file
that dvips created. And when embedding, I do not want them converted to
some bitmap-format. I want that they are embedded in scalable outline
format. They must be embedded as such or as wrapped to Type 42 -format.
Plain conversion from TrueType to Type 1 would lose some of that font's
quality.

> Basically it is possible to use TrueType font for printing
> and we Japanese users in fact use TrueType fonts to print
> Japanese characters in DVI files.

> In a sprit, it would be same strategy as of the above URL but
> in short we tell dvips that TrueType font "bar" is a printer
> resident font "foo" and dvips generates PS file, then we print 
> generated PS through gs and gs replaces "foo" with TrueType
> font "bar" (this might be not so precise however).

What will happen, if you send such PostScript-file to some person who do
not have fonts "bar" or "foo" installed? How (s)he can print or view them?

That's what it's all about: You must embed those fonts to that
PostScript-file. If you embed them as bitmaps, they will look really
ugly when viewed with gv or other PostScript-viewer. I do not want
that.


-- 
Juhapekka "naula" Tolvanen * http colon slash slash iki dot fi slash juhtolv
"kohtalona perinnön on kirjastona roihuta kun lukutaidottomat säikkyy
ensipakkasta ja tuki kanssaihmisten on hyöty täysin ilmainen. vaan mitenpä
käy lempeyslainan palautuksessa?"                                        CMX



Reply to: