Re: tk 8.5 vs 8.4: "font actual" differences



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'

.



Relevant Pages

  • Re: helvetica issue
    ... It tried replacing the registry key with my own, and that didn't help, so ... It could be the mapping that's messed up, but it could also be a printer ... If the printer's one that includes Helvetica as a resident font, ... and we have a font mapping that points Helvetica to Arial. ...
    (microsoft.public.powerpoint)
  • Re: PHP and Dreamweaver CCSes
    ... font: Geneva, Verdana, Arial, helvetica, sans-serif; ...
    (comp.infosystems.www.authoring.html)
  • Re: helvetica issue
    ... I'd substitute a TT font rather than one with the printer icon. ... It could be the mapping that's messed up, but it could also be a printer ... If the printer's one that includes Helvetica as a resident font, ...
    (microsoft.public.powerpoint)
  • >>> HELVETICA DOWNLOAD <<<
    ... helvetica condensed download ... freee download helvetica font ... download free helvetica neue font ...
    (alt.food.barbecue)
  • Re: canvas EPS output: Helvetica font problem
    ... :I have a problem when exporting the canvas with Helvetica text to ... Is it that you see the text on the canvas, but not in the PostScript? ... Could it be that your printer doesn't have Helvetica font? ...
    (comp.lang.tcl)