Font sizes/Screen vs. Postcript/Contour dropping lables [message #26102] |
Fri, 03 August 2001 11:58  |
Axel Schweiger
Messages: 11 Registered: November 1995
|
Junior Member |
|
|
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I am struggling with the problem of determining font sizes in
a device independent
<br>way. Using the Hershey Fonts works ok but they are not very nice looking.
The TT
<br>Fonts are fuzzy (at least on my Unix system) and the Hardware Fonts
tend to
<br>produce unpredictable results in terms of the character size. This
is particularly
<br>annoying when using the Contour routine. Depending on character
size individual
<br>labels maybe supressed.
<p>Thanks
<br>Axel
<pre>--
#----------------------------------------------------------- ------------------
# Axel Schweiger & amp;nbsp; & amp;nbsp; & amp;nbsp; & amp;nbsp; & amp;nbsp; & amp;nbsp; & amp;nbsp; Tel:206-543-1312
# University of Washington Fax:206-616-3142
# Polar Science Center/Applied Physics Laboratory
# 1013 NE 40th Street & ;nbsp; & ;nbsp; & ;nbsp; & ;nbsp; & ;nbsp; & ;nbsp;
# Seattle, Wa 98105 & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; axel@apl.washington.edu
#----------------------------------------------------------- ------------------ </pre>
</html>
|
|
|
Re: font size [message #34646 is a reply to message #26102] |
Tue, 08 April 2003 20:12  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
tomson (tom2959@21cn.com) writes:
> Who can tell me how to do that?
>
> The journal asked me that words on the figure should be Times New with size
> 8pt.
Uh, well. Let me try again.
I'm not sure the concept of "point size" has much
relevance in the world of computer graphics, but if
you had a good quality PostScript font and a high-
resolution PostScript printer you might expect
reasonable results. I would try something like this:
Device, Set_Font='Bookman', Font_Size=8
Plot, x, y
xyouts, 0.5, 0.5, Font=0, 'string', ....
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: font size [message #34650 is a reply to message #26102] |
Tue, 08 April 2003 17:35  |
tomson
Messages: 39 Registered: March 2003
|
Member |
|
|
Who can tell me how to do that?
The journal asked me that words on the figure should be Times New with size
8pt.
"tomson" <tom2959@21cn.com> д����Ϣ����:b6t5aa$j48$1@mail.cn99.com...
> Hi,
>
> I have a question on how to set font size exactly. For example, I want
> string to be printed at size=8pt. I only know charsize=..., but that's
> relative size. How to set that? For example,
> plot,x,y,...
> xyouts,0.5,0.5,'string',...
>
> TOM
>
>
|
|
|
Re: font size [message #34675 is a reply to message #26102] |
Mon, 07 April 2003 21:25  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
tomson (tom2959@21cn.com) writes:
> I have a question on how to set font size exactly. For example, I want
> string to be printed at size=8pt. I only know charsize=..., but that's
> relative size. How to set that? For example,
> plot,x,y,...
> xyouts,0.5,0.5,'string',...
I'm not sure the concept of "point size" has much
relevance in the world of computer graphics, but if
you had a good quality PostScript font and a high-
resolution PostScript printer you might expect
reasonable results. I would try something like this:
Device, Set_Font='Bookman', Font_Size=8
Plot, x, y
xyouts, 0.5, 0.5, Font=0, 'string', ....
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|