comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Font sizes/Screen vs. Postcript/Contour dropping lables
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Font sizes/Screen vs. Postcript/Contour dropping lables [message #26102] Fri, 03 August 2001 11:58 Go to next message
Axel Schweiger is currently offline  Axel Schweiger
Messages: 11
Registered: November 1995
Junior Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I&nbsp;am struggling with the problem of determining&nbsp; 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.&nbsp; Depending on character
size individual
<br>labels maybe supressed.
<p>Thanks
<br>Axel
<pre>--&nbsp;
#----------------------------------------------------------- ------------------
# Axel Schweiger&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& amp;nbsp;&nbsp;&nbsp;&nbsp; Tel:206-543-1312
# University of Washington&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fax:206-616-3142
# Polar Science Center/Applied Physics Laboratory
# 1013 NE 40th Street&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& ;nbsp;&nbsp;&nbsp;
# Seattle, Wa 98105&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; axel@apl.washington.edu
#----------------------------------------------------------- ------------------ </pre>
&nbsp;</html>
Re: font size [message #34646 is a reply to message #26102] Tue, 08 April 2003 20:12 Go to previous message
David Fanning is currently offline  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 Go to previous message
tomson is currently offline  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 Go to previous message
David Fanning is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: nonuniform FFT
Next Topic: Re: Setting and unsetting the vector font number

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:46:34 PDT 2025

Total time taken to generate the page: 0.00682 seconds