Menu

#184 Patch for postscipt font size bug

open
None
7
2004-12-02
2004-12-01
No

See http://wiki.tcl.tk/8483 and the bugs 694528 and 502026.

When generating postscript from canvas, the generated
font sizes are too small (72/Screen-DPI). Because
of existing programs i would use a switch (-scalefonts true)
for the postscript command to switch over to the other
behaviour.
OS-Plattform: All
test script:
--------------------------------
pack [canvas .c -width 211m -height 297m]
.c create text 1i 1i -text "courier new 24 bold" -anchor sw -font
{{courier new}
update idletasks
.c postscript -file xx.ps
--------------------------------
Position of the text is ok/Size of Font ist to small.
(on all Displays with Resolution!=72dpi)

wish:
--------------------------------------
....
.c postscript -file xx.ps -scalefonts true
...
---------------------------------------

Discussion

  • Peter Brueckner

    Peter Brueckner - 2004-12-01

    Patch against tk8.5a1

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-12-02
    • priority: 5 --> 7
    • assigned_to: nobody --> hobbs
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-12-02

    Logged In: YES
    user_id=72656

    If we fix this in 8.5, why would you want to make this a
    switch? Shouldn't it just be corrected and the programs
    would have to know that 8.5 "just works"? Even for 8.4.9
    ... you could check patchlevel. It seems excessive to add a
    switch for support of a bug work-around.

     
  • Nobody/Anonymous

    Logged In: NO

    ./amsn

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.