Ticket #250 (closed defect: wontfix)

Opened 12 years ago

Last modified 12 years ago

zwgc fonts are too big

Reported by: jhawk Owned by: geofft
Priority: low Milestone: Summer 2010 (Lucid Deploy)
Component: documentation Keywords: zwgc font x11
Cc: Fixed in version:
Upstream bug:

Description

Under debathena, zwgc uses fonts that are too large. /etc/zwgc_resources defines the default medium font as:

*fontfamily.default.medium.roman: -adobe-courier-medium-r-*-120-*-m-*

And under Debathena, this can be any of these eight fonts:

[kid-icarus!jhawk] ~> xlsfonts -fn '-adobe-courier-medium-r-*-120-*-m-*'
-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso10646-1
-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso10646-1
-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1
-adobe-courier-medium-r-normal--12-120-75-75-m-70-iso8859-1
-adobe-courier-medium-r-normal--17-120-100-100-m-100-iso10646-1
-adobe-courier-medium-r-normal--17-120-100-100-m-100-iso10646-1
-adobe-courier-medium-r-normal--17-120-100-100-m-100-iso8859-1
-adobe-courier-medium-r-normal--17-120-100-100-m-100-iso8859-1

The 17 pxlsz fonts are unreasonably large. The 12 pxlsz fonts match the size of windowgrams under Athena 9.

I'm not sure if there is a larger problem (why do fonts get bigger under DebAthena?? Are other applications broken?); I'm also not sure what the right fix is (change zwgc's font specification to be more specific? Reorder the font path? Something more clever?)

Thanks.

p.s.: reminder, the fontspec is fndry-fmly-wght-slant-sWdth-adstyl-pxlsz-ptSz-resx-resy-spc-avgWdth-rgstry-encdng, per xfontsel.

Change History

comment:1 Changed 12 years ago by jdreed

  • Milestone set to IAP 2010

comment:2 Changed 12 years ago by geofft

Do we want to fix this by just doing

- *fontfamily.default.medium.roman:     -adobe-courier-medium-r-*-120-*-m-*
+ *fontfamily.default.medium.roman:     -adobe-courier-medium-r-*-12-120-*-m-*

etc. to /etc/zephyr/zwgc_resources, which would be a trivial transform script and an or do we feel like this is sufficiently a sign of something larger going on that we can address and also that we should address? (I'm inclined to say no)

comment:3 Changed 12 years ago by geofft

  • Status changed from new to accepted
  • Owner set to geofft
  • Component changed from -- to documentation

You'd actually want to make that -adobe-courier-medium-r-*-120-75-75-m-* etc. apparently.

kcr says that this is the fault of the X server doing things about DPI right that it didn't on Athena 9 (which answers the question of whether there's a bigger problem here), and that ultimately his plan is to switch zwgc to TrueType? or something fonts. quentin says that he's worried about hard-coding the DPI causing his screen not to scale correctly, so given all of this I'm tempted to declare this wontfix in code, and that we'd document the Xresources lines needed to hard-code fonts/DPI that look like the old ones.

comment:4 Changed 12 years ago by jdreed

  • Status changed from accepted to closed
  • Resolution set to wontfix
Note: See TracTickets for help on using tickets.