Closed
Bug 425367
Opened 17 years ago
Closed 17 years ago
Support for stretchy fences built from glyphs in SymbolMT
Categories
(Core :: MathML, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla1.9
People
(Reporter: karlt, Assigned: karlt)
References
Details
(Keywords: regression)
Attachments
(4 files, 2 obsolete files)
MS Windows XP has little Unicode font support for stretchy fences (brackets).
The Monotype Symbol font has some useful glyphs for building these characters
and with bug 399636 now fixed we can easily access these glyphs from the PUA
without the font getting in the way of Unicode characters.
The lack of SymbolMT support is a regression. Mozilla 1.8 handled this
font through font-specific encoding conversions.
Mac has a Unicode Symbol font and so doesn't need any special support.
We shouldn't make any assumptions about the encoding of a font with family
name Symbol on Unix because there exist Adobe, Monotype, and Apple fonts all
with family name Symbol, but each of them uses different encodings.
Linux doesn't need to use any Symbol font because most Linux systems have
DejaVu Sans and Standard Symbols L, which provide (at least) the same
functionality.
Assignee | ||
Comment 1•17 years ago
|
||
Even with Cambria Math installed (from PowerPoint Viewer 2007 or similar),
because we don't yet handle its new MATH OpenType table, we don't get access
to medium sized glyphs and so parentheses and curly brackets are either short
or tall. (And the parts of left square bracket don't align nicely.)
Assignee | ||
Comment 2•17 years ago
|
||
Assignee: nobody → mozbugz
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•17 years ago
|
||
(Cambria Math was not installed.)
Assignee | ||
Comment 4•17 years ago
|
||
This needs to be installed in res/fonts under the name mathfontSymbol.properties,
font.mathfont-glyph-tables in mathfont.properties needs to be modified to include "Symbol" and the font.mathfont-family preference needs to be modified to include "Symbol".
Assignee | ||
Comment 5•17 years ago
|
||
> because we don't yet handle its new MATH OpenType table
Bug 407059.
Assignee | ||
Updated•17 years ago
|
Keywords: regression
Assignee | ||
Comment 6•17 years ago
|
||
It might have been nice to have a special file name for the Monotype font but the MathML code expects it to be installed with a filename based on the family name and nsinstall doesn't support renaming files. No other platforms need a mathfontSymbol.properties file now so I'll just use this for SymbolMT to keep things simple.
I can't find PACKAGE_FILE used anywhere so I'm not sure what macros are defined when it is processed, or whether it matters. Other PACKAGE_FILES appear to be using what look like makefile variables rather than ACDEFINES so I've just followed along there.
This also repositions Cambria Math in the list of default preferred fonts as it isn't rendering as well as I had expected (comment 1).
Attachment #312000 -
Attachment is obsolete: true
Attachment #312791 -
Flags: review?(pavlov)
Updated•17 years ago
|
Attachment #312791 -
Flags: review?(pavlov) → review+
Assignee | ||
Comment 7•17 years ago
|
||
Comment on attachment 312791 [details] [diff] [review]
Add mathfontSymbol.properties for MS Windows
We should get this in because without it there would be many cases where the regression is noticeable on Windows XP (without extra fonts).
The patch only affects data files and build (no run-time code except prefs) so the possible effects of any risk are small.
Attachment #312791 -
Flags: approval1.9?
Assignee | ||
Updated•17 years ago
|
Flags: blocking1.9?
Comment 8•17 years ago
|
||
+'ing w/ P2 as it's a regression.
Flags: blocking1.9? → blocking1.9+
Priority: -- → P2
Assignee | ||
Updated•17 years ago
|
Attachment #312791 -
Flags: approval1.9?
Assignee | ||
Comment 9•17 years ago
|
||
Comment on attachment 312791 [details] [diff] [review]
Add mathfontSymbol.properties for MS Windows
I checked this in but it caused all kinds of problems because the destination of the shell output redirection for mathfont.properties already existed as a was a symlink to the source file, so the source file got truncated.
Attachment #312791 -
Attachment is obsolete: true
Assignee | ||
Comment 10•17 years ago
|
||
The simple solution is to rm -f the filename before writing to the file.
Attachment #313272 -
Flags: review?(pavlov)
Updated•17 years ago
|
Attachment #313272 -
Flags: review?(pavlov) → review+
Assignee | ||
Comment 11•17 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9
You need to log in
before you can comment on or make changes to this bug.
Description
•