Closed
Bug 831883
Opened 12 years ago
Closed 12 years ago
eliminate the Open Sans fonts bundled in the Reader core theme, just use Gecko's "installed" copy
Categories
(Firefox for Android Graveyard :: Reader View, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 21
People
(Reporter: jfkthame, Assigned: jfkthame)
References
Details
Attachments
(1 file)
|
5.50 KB,
patch
|
lucasr
:
review+
|
Details | Diff | Splinter Review |
In bug 831354, we're shipping Open Sans as the default sans-serif font for Firefox on Android, by including it in the package. This will make it appear as just another installed font on the platform, as far as the rest of Gecko is concerned.
As a result, we can remove the use of @font-face to explicitly load Open Sans from chrome:// URIs in the Reader CSS; it can simply refer to the installed font by name. This will reduce the overhead of starting up a Reader view.
| Assignee | ||
Comment 1•12 years ago
|
||
remove-reader-fonts
Attachment #704357 -
Flags: review?(lucasr.at.mozilla)
| Assignee | ||
Comment 2•12 years ago
|
||
Oops, sorry about the unhelpful comment - I messed up with bzexport. Anyway, with bug 831354 landed on trunk, we can now claw back some of the size increase there by removing the Reader copy of the fonts, as they're now available throughout the platform in the regular font list. This also saves us going through the process of loading and sanitizing the font files and instantiating new platform font objects each time the user enters Reader mode.
Comment 3•12 years ago
|
||
Comment on attachment 704357 [details] [diff] [review]
eliminate the copy of Open Sans fonts bundled in the Reader core theme.
Review of attachment 704357 [details] [diff] [review]:
-----------------------------------------------------------------
Nice. Will this also fix bug 792370 somehow?
Attachment #704357 -
Flags: review?(lucasr.at.mozilla) → review+
| Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Lucas Rocha (:lucasr) from comment #3)
> Nice. Will this also fix bug 792370 somehow?
Yup, should do, as we have a more complete set of styles in the platform now.
| Assignee | ||
Comment 5•12 years ago
|
||
Assignee: nobody → jfkthame
Target Milestone: --- → Firefox 21
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•