Closed Bug 8801 Opened 25 years ago Closed 25 years ago

[BETA] [FEATURE] font prefs: work with owner to finalize spec and impl


(SeaMonkey :: Preferences, defect, P2)


(Not tracked)



(Reporter: erik, Assigned: erik)




(2 files)

Figure out who owns the font picker, and work with that person to finalize the
spec and get it implemented, with all I18N issues in mind.
Target Milestone: M10
That would be Eric Vaughan, evaughan
Summary: font picker: work with owner to finalize spec and impl → font prefs: work with owner to finalize spec and impl
Sorry, when I saw the term "font picker" in XPToolkit docs, I assumed it was
talking about the font prefs dialog under Edit.Preferences. In this bug report,
I'm really referring to the font prefs, so I've changed the Summary above. The
front end of the prefs is owned by Matt Fisher.
Target Milestone: M10 → M9
Matt said he'd do font prefs by M9, so marking this M9.
Blocks: 9332
Target Milestone: M9 → M10
Target Milestone: M10 → M11
Won't make M10, marking M11.
Blocks: 6827
Blocks: 9240
Blocks: 13465
trudell told me they will drop font selector widget (which have both font face
selection and size selection in one widget) for M11. I told him it is ok since
we can use font face selection widget + a size menu to work around.
Target Milestone: M11 → M12
Blocks: 14744
No longer blocks: 14744
Blocks: 16950
Severity: normal → major
Priority: P3 → P2
Target Milestone: M12 → M11
Blocks: 17432
Target Milestone: M11 → M12
Blocks: 17907
Blocks: 18471
Blocks: 18951
Blocks: 20203
Summary: font prefs: work with owner to finalize spec and impl → [BETA] font prefs: work with owner to finalize spec and impl
Blocks: 7586
Blocks: 15989
I tried hooking up something like this the other day, for fun. I used
nsIFontEnumerator. Unfortunately, I have 388 fonts (not really that many, but
still quite a lot of DOM appends to be doing on a select widget) and it hung
mozilla every time I tried to load the font list -_-

Some people say that we need a "modern" font picking system like that
recommended at (can't remember the url, has it)
- one that lets you pick default serif, sans-serif, monospace, fantasy, dingbats
i have the font panel in my tree with
the fontenumerator pretty much working.
I was going to try to check it in today
but i got a damn pdt+ treewidget bug.
rgoodger, the font prefs panel that Matt is working on will have all of the CSS
generic fonts (serif, sans-serif, monospace, cursive and fantasy).

Matt, it's good to hear that you got it pretty much working. I hope you got my
email about the font pref name change. The naming scheme that I am using in the
backend code that has already been checked in is:

  user_pref("", "Times New Roman");
  user_pref("font.size.monospace.ja", 10);

However, the backend code does not currently dynamically update the fonts when
the prefs change. You need to quit the browser, and re-start, to take effect.
*** Bug 7586 has been marked as a duplicate of this bug. ***
Need to add default fonts to the default prefs file for each platform.
*** Bug 19486 has been marked as a duplicate of this bug. ***
Closed: 25 years ago
Resolution: --- → FIXED
checkin log show erik has checked in a fix for this in

marking fixed to get on the testing radar.
This bug is not completely fixed.  There is additional work needed to
complete this feature.  Erik (and Frank for Mac) have incrementally
checked in parts to allow QA to test parts and to provide the pieces
needed to hook up the XUL pref dialog work that Matt is working on.
Resolution: FIXED → ---
Target Milestone: M12 → M13
moving the rest of the work off to m13.
Blocks: 21564
Montse, could you let me know which font names are used for the default fonts
in the various localized versions of Communicator 4.X? Thanks!
Matt, I just attached a patch to this bug to get Mozilla to update font prefs
dynamically. So, to test your font prefs dialog in XUL/JS, you can use this
patch in your local tree, and make sure that the fonts change when you hit the
OK button in prefs. I tried it already, and it sorta works, but there is a bug
in the layout engine where the new fonts are not immediately displayed, and you
need to hide and show the window. It also doesn't relayout properly until you
do View.Reload. Anyway, this patch may help you test your XUL/JS while I'm on
vacation 12/18 to 1/5.
All, I just attached a patch to get font prefs to work on Unix. If anybody
wants to test font prefs on Unix while I'm on vacation 12/18 to 1/5, please
apply this patch to your local tree.
Blocks: 22176
Summary: [BETA] font prefs: work with owner to finalize spec and impl → [BETA] [FEATURE] font prefs: work with owner to finalize spec and impl
No longer blocks: 13465
QA Contact: cpratt → sairuh
spam: in my testing realm, so reassigning qa contact to me, en masse.
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
Created bug 24172 for adding default font names to default pref files. Closing
this bug for M13. If there are any specific bugs in this feature, please open
separate bug reports.
No longer blocks: 7586
No longer blocks: 9332
Bulk move of all Pref UI component bugs to new Preferences component.  Pref UI 
component will be deleted.
Component: Pref UI → Preferences
No longer blocks: 17432
No longer blocks: 17907
No longer blocks: 18471
No longer blocks: 18951
No longer blocks: 20203
No longer blocks: 21564
No longer blocks: 22176
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.