Closed
Bug 94301
Opened 23 years ago
Closed 23 years ago
[xlib] Xlib-port uses other fonts than GTK+-port
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
mozilla0.9.4
People
(Reporter: roland.mainz, Assigned: roland.mainz)
Details
(Whiteboard: want for 0.9.4)
Attachments
(1 file)
650 bytes,
patch
|
Details | Diff | Splinter Review |
Xlib gfx code (gfx/src/xlib/) is more or less a port of GTK+ gfx code
(gfx/src/gtk/) from GTK+/GDK library to plain libX11 calls...
... in theory both gfx modules should use exactly the same fonts - but they are
currently (=2001-08-05-08-trunk) using different fonts... for example - most
fonts are slightly bigger...
... any ideas ?
Comment 1•23 years ago
|
||
I left fonts big bigger on purpose so i can see am i using gtk or xlib :)
I think this will fix that:
gfx/src/xlib/nsDeviceContextXlib.cpp
- #define XLIB_DEFAULT_FONT1 "-*-helvetica-medium-r-*-*-*-140-*-*-*-*-iso8859-1"
+ #define XLIB_DEFAULT_FONT1 "-*-helvetica-medium-r-*-*-*-120-*-*-*-*-iso8859-1"
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
Filed patch.
But I still see differences in fonts... more ideas ?
Comment 4•23 years ago
|
||
My patch works for me, your patch misses one '*'
Assignee | ||
Comment 5•23 years ago
|
||
I copied the strings from GTK+ toolkit after I tested your versions. There is
still a difference in both versions vs. GTK+ build.
Interesting detail: Xprint module (which uses nsFontMetricsXlib.cpp) behaves
differently on Xlib and GTK+ builds. Why ?
In theory both should create identical results... or not ?
Mhhh... sometimes |gFontSubConverter->Init()| fails in
nsFontXlibSubstitute::Convert()... is that related to this issue ?
Assignee | ||
Comment 6•23 years ago
|
||
Any news here ?
Stealing bug from pocemit to get it on my "0.9.4 radar" ...
Assignee | ||
Comment 7•23 years ago
|
||
Requestiong r=/sr= for the patch ...
Status: NEW → ASSIGNED
Keywords: mozilla0.9.4
Comment 8•23 years ago
|
||
May God have mercy on us all. The 212 bug spam-o-rama is Now!
QA Contact: aegis → jrgm
r=dbaron on attachment 45069 [details] [diff] [review]
Assignee | ||
Comment 10•23 years ago
|
||
Requesting sr= ...
Comment 11•23 years ago
|
||
sr=tor on attachment 45069 [details] [diff] [review]
Assignee | ||
Comment 12•23 years ago
|
||
Requesting a= for {0.9.4,trunk} - this two line patch is too simple to not make
it in 0.9.4 ... :-))
Assignee | ||
Updated•23 years ago
|
Comment 13•23 years ago
|
||
a=asa on behalf of drivers.
C:\moz_src\mozilla\gfx\src\xlib>cvs commit -m "Bug 94301. X-lib-port uses other
fonts than GTK+-port. Patch by Roland.Mainz@informatik.med.uni-giessen.de (gisbu
rn on irc) r=dbaron sr=tor a=asa on behalf of drivers" nsDeviceContextXlib.cpp
Checking in nsDeviceContextXlib.cpp;
/cvsroot/mozilla/gfx/src/xlib/nsDeviceContextXlib.cpp,v <-- nsDeviceContextXli
b.cpp
new revision: 1.42; previous revision: 1.41
done
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•