Closed
Bug 199101
Opened 23 years ago
Closed 4 years ago
font family matching should not be based on the 3 predefined sets in Composer
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
People
(Reporter: glazou, Unassigned)
References
()
Details
Existing font family matching code in the HTML editor is currently matching
only the first 5 chars for efficiency reasons and because at that time no
extension to local fonts was planned. This should be changed to allow authors
to use system fonts.
Comment 1•23 years ago
|
||
Daniel, you have an idea of how to fix this?
I would remove the Substring stuff and just do a complete compare, but you
mentioned something about needing to do something more sophisticated...
Something to do with needing to parse font lists, I think.
Updated•19 years ago
|
QA Contact: bugzilla → editor
Comment 2•4 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:hsinyi, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: jag+mozilla → nobody
Flags: needinfo?(htsai)
The code must be here:
https://searchfox.org/mozilla-central/rev/68488c93534ef32b9089f9eee1940a72a9e271e5/editor/libeditor/html/nsHTMLCSSUtils.cpp#1181-1182
It's gone by this change (it's glazou's patch):
https://searchfox.org/mozilla-central/diff/769b846b521da1bcb42aaca0c97b018996d86c09/editor/libeditor/html/nsHTMLCSSUtils.cpp#1245
Severity: major → S3
Status: NEW → RESOLVED
Closed: 4 years ago
Depends on: 198546
Flags: needinfo?(htsai)
Priority: -- → P3
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•