Closed Bug 112522 Opened 23 years ago Closed 23 years ago

only run aasb on local X server

Categories

(Core :: Internationalization, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.7

People

(Reporter: bstell, Assigned: bstell)

Details

Attachments

(1 file)

since anti-aliased scaled bitmap fonts (aasb: see bug 90813) use a large
amount of bandwidth we should not enabling them when the X server is remote.
bstell:
This is more a latency issue than a bandwidth issue (OK, it is one if you only
have 10baseT).
You can even get problems if Xterminal is connected via 1000baseT to a machine
which is on the other side of the city...
Uses gdk_get_use_xshm to test if X server is local.
This could be overly restrictive.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
What about making this depend on bug 112506 ("prefs-item for AASB") and make a
"smart" option there:
Choices for the prefs item:
- Allways (both local and remove X11)
- Only local Xservers (=default)
- Never
 
Target Milestone: mozilla0.9.7 → ---
midair-collision, sorry ...
Target Milestone: --- → mozilla0.9.7
Comment on attachment 59632 [details] [diff] [review]
patch; disable aasb if X server not local

r=roland.mainz@informatik.med.uni-giessen.de
> What about making this ... a "smart" option ...
> - Allways (both local and remove X11)
> - Only local Xservers (=default)
> - Never

If this is really impeding people (I still have not talked to anyone that 
actually has this problem) lets put in a fix for them so they can use
moz while we do the fine tuning.

I copied this to bug 112506, "Need font prefs panel item to turn AASB fonts 
on/off".
Comment on attachment 59632 [details] [diff] [review]
patch; disable aasb if X server not local

The code looks innocuous to me and I'm okay putting an sr stamp on it assuming
you get an r= from a linux guru who has a good idea about this
stuff...blizzard? pavlov? 

tentative sr=mscott pending an appropriate r= from someone in the know.
Attachment #59632 - Flags: superreview+
> The code looks innocuous to me and I'm okay putting an sr stamp on it assuming
> you get an r= from a linux guru who has a good idea about this
> stuff...

See r= above ... :)
Comment on attachment 59632 [details] [diff] [review]
patch; disable aasb if X server not local

r=pavlov
Attachment #59632 - Flags: review+
checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Nice one... quick work.  :)
Changed QA contact to ylong@netscape.com since she is the QA contact for bug 
90813.
QA Contact: teruko → ylong
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: