Fonts & Character SetsHow to use Type 3 fonts ?

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

How to use Type 3 fonts ?

Post by M.A »

Dear all,

I want to use type 3 fonts instead of type 1 fonts, how to do that for computer modern fonts?

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

How to use Type 3 fonts ?

Post by CrazyHorse »

M.A wrote: I want to use type 3 fonts instead of type 1 fonts, how to do that for computer modern fonts?
They are used by default when you do not load the
package fontenc.

Herbert
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

How to use Type 3 fonts ?

Post by frabjous »

CrazyHorse wrote: They are used by default when you do not load the
package fontenc.
That does not seem to be true, at least not with pdflatex on TeXlive 2010.

There is a package on CTAN but I don't know how to use it. On the other hand, I cannot think of any reason why I'd want to use Type-3 fonts; it's a very mysterious request.
CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

How to use Type 3 fonts ?

Post by CrazyHorse »

frabjous wrote:
CrazyHorse wrote: They are used by default when you do not load the
package fontenc.
That does not seem to be true, at least not with pdflatex on TeXlive 2010.

There is a package on CTAN but I don't know how to use it. On the other hand, I cannot think of any reason why I'd want to use Type-3 fonts; it's a very mysterious request.
then uninstall the type1 cmr amsfonts from the the fontmap

cmtype3 is a package which didn't use the original cmr fonts
it is similiar to cm-super.

Herbert
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

How to use Type 3 fonts ?

Post by frabjous »

then uninstall the type1 cmr amsfonts from the the fontmap
I know you're trying to help, but this is really an unhelpful reply.

I'm not going to mess with my default global font configuration just to try to answer a question on these forums (--I have no desire for type 3 fonts myself--), and I'm not even sure I would even know how if I tried.

I think the original poster wants to know if there is a way to get Type 3 fonts on a case by case basis, for a particular file.
M.A
Posts: 58
Joined: Sun Nov 30, 2008 10:42 am

How to use Type 3 fonts ?

Post by M.A »

Thanks for the replies.
Let me explain the situation. I am using latex-rendered png images on a web-page, but I didn't like the quality of the output.
The server that we are running on uses the following compilation sequence
tex >> latex >> dvi >> dvips >> ps >> convert (imagemagick) >> png

The problem, as I think, comes from the convert subroutine which operates on the vector ps file. I read in the imagemagick website that "convert" subroutine doesn't deal well with vector files.

Therefore, I want to produce a bitmapped ps file instead of a vector ps
One way is to include type 3 fonts from the beginning.
Another way that I thought of now is to leave the tex file as it's and change the setting of the dvips converter such that it produces bitmapped output. Can this be done ?


Another solution is to change the compilation sequence to
tex >> latex >> dvi >> dvipng >> png
Since dvipng is available in the MiKTeX distribution, I tried it on my pc and the resulting images were very good.
But the problem is that server uses a an old teTeX distribution that doesn't have dvipng, and I don't know how to install dvipng there. Do you know how ?

Best Regards,
CrazyHorse
Posts: 351
Joined: Sat Aug 02, 2008 8:47 am

How to use Type 3 fonts ?

Post by CrazyHorse »

M.A wrote:Therefore, I want to produce a bitmapped ps file instead of a vector ps
One way is to include type 3 fonts from the beginning.
Another way that I thought of now is to leave the tex file as it's and change the setting of the dvips converter such that it produces bitmapped output. Can this be done ?
For such conversion I use

Code: Select all

pdftoppm -f 1 -l 1 -png test.pdf > test.png
with a very good result.

Herbert
Post Reply