Re: tk 8.5 vs 8.4: "font actual" differences
- From: "MartinLemburg@Siemens-PLM" <martin.lemburg.siemens-plm@xxxxxxx>
- Date: Fri, 29 Feb 2008 02:06:28 -0800 (PST)
Hi Ralf,
I think its simply about font mapping!
As example ... I have no font named "Helvetica" on my machine, so ...
(bin) 1 % font actual {Helvetica 8}
-family Arial -size 8 -weight normal -slant roman -underline 0 -
overstrike 0
.... returns "Arial".
I don't know where the mapping occurs, but the tcl 8.5 font man page
does not tell something about font name mapping - perhabs I overread
it.
Is it possible to tell in Postscript to download a font, not present
on the printer to get used?
Or is the printer device is configured to do NOT download fonts for
usage, if not present?
Best regards,
Martin
On 28 Feb., 19:20, Ralf Fassel <ralf...@xxxxxx> wrote:
Could someone tell why on the very same system "font actual" gives
different results in 8.5 and 8.4:
% info patchlevel
8.4.14
% font actual {Helvetica 8}
-family helvetica -size 8 -weight normal -slant roman -underline 0 -overstrike 0
% info patchlevel
8.5.1
% font actual {Helvetica 8}
-family {Nimbus Sans L} -size 8 -weight normal -slant roman -underline 0 -overstrike 0
What is the magic behind using {Nimbus Sans L} in 8.5?
This makes a difference when generating Postscript output, where
suddenly instead of 'Helvetica' 'Nimbus Sans L' is requested.
The result is that my printer (HP LaserJet with PostScript engine)
substitutes a fixed width font instead of Helvetica :-/
% canvas .c
.c
% pack .c
% .c create text 10 10 -font {Helvetica 8} -text foo
1
% .c postscript -file foo.ps
% lp foo.ps
=> prints with Helvetica in 8.4
=> prints with Courier (?) in 8.5
Thanks
R'
.
- Follow-Ups:
- Re: tk 8.5 vs 8.4: "font actual" differences
- From: Ralf Fassel
- Re: tk 8.5 vs 8.4: "font actual" differences
- References:
- tk 8.5 vs 8.4: "font actual" differences
- From: Ralf Fassel
- tk 8.5 vs 8.4: "font actual" differences
- Prev by Date: Re: tclhttpd with utf-8
- Next by Date: Re: serial communication with tcl
- Previous by thread: tk 8.5 vs 8.4: "font actual" differences
- Next by thread: Re: tk 8.5 vs 8.4: "font actual" differences
- Index(es):
Relevant Pages
|