Bugzilla – Attachment 55147 Details for
Bug 33849
smath does not handle accents in MathML
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix all simple accent problems
accents2.diff (text/plain), 2.08 KB, created by
Joshua Cogliati
on 2012-01-04 20:33:14 UTC
(
hide
)
Description:
Patch to fix all simple accent problems
Filename:
MIME Type:
Creator:
Joshua Cogliati
Created:
2012-01-04 20:33:14 UTC
Size:
2.08 KB
patch
obsolete
>diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx >index 58010e7..ac50ed3 100644 >--- a/starmath/source/node.cxx >+++ b/starmath/source/node.cxx >@@ -2821,23 +2821,51 @@ void SmAttributNode::CreateTextFromNode(String &rText) > nLast = aStr.GetChar(0); > switch (nLast) > { >- case 0xAF: >+ case 0xAF: // MACRON > APPEND(rText,"overline "); > break; >- case 0x2d9: >+ case 0x2d9: // DOT ABOVE > APPEND(rText,"dot "); > break; >- case 0x2dc: >+ case 0x2dc: // SMALL TILDE > APPEND(rText,"widetilde "); > break; >- case 0xA8: >+ case 0xA8: // DIAERESIS > APPEND(rText,"ddot "); > break; > case 0xE082: > break; > case 0xE09B: >+ case 0x20DB: // COMBINING THREE DOTS ABOVE > APPEND(rText,"dddot "); > break; >+ case 0x301: // COMBINING ACUTE ACCENT >+ APPEND(rText,"acute "); >+ break; >+ case 0x300: // COMBINING GRAVE ACCENT >+ APPEND(rText,"grave "); >+ break; >+ case 0x30C: // COMBINING CARON >+ APPEND(rText,"check "); >+ break; >+ case 0x306: // COMBINING BREVE >+ APPEND(rText,"breve "); >+ break; >+ case 0x30A: // COMBINING RING ABOVE >+ APPEND(rText,"circle "); >+ break; >+ case 0x20D7: // COMBINING RIGHT ARROW ABOVE >+ APPEND(rText,"vec "); >+ break; >+ case 0x303: // COMBINING TILDE >+ APPEND(rText,"tilde "); >+ break; >+ case 0x302: // COMBINING CIRCUMFLEX ACCENT >+ APPEND(rText,"hat "); >+ break; >+ case 0x304: // COMBINING MACRON >+ APPEND(rText,"bar "); >+ break; > default: > rText.Append(nLast); > break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 33849
:
42865
|
54976
|
55079
| 55147