Repository navigation
Map PUA bullets to Unicode in Word #6778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
b4d1500
6d210b7
592e316
4a717d6
2bc430b
f05da7f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
* Remove U+F0B7 PUA symbol from symbol dictionary. * Reorder and clean up the mapPUAToUnicode dict. * More consistent code style in _normalizeFormatField(). * Update U+F0E8 to use the same mapping as Word uses when saving to plain text. * Update U+F0FC based on http://www.alanwood.net/demos/wingdings.html. * Update description for U+21E8 to more closely match the Unicode name. * Add U+F0A7, used for bullets on level 3, based on https://en.wikipedia.org/wiki/Symbol_(typeface)#Encoding.
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -82,7 +82,6 @@ _ line most | |
| • bullet some | ||
| … dot dot dot all always | ||
| ... dot dot dot all always | ||
| bullet some | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. WHy this removal?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because it is a PUA character and as such it will only be a bullet in certain applications. For Word this character is now mapped to a proper bullet. |
||
| “ left quote most | ||
| ” right quote most | ||
| ‘ left tick most | ||
|
|
@@ -97,10 +96,11 @@ _ line most | |
| ▪ black square some | ||
| ◾ black square some | ||
| ◦ white bullet some | ||
| ➔ right arrow some | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why this removal?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, that arrow (U+2794) is not used as a bullet shape whereas the other arrows are. |
||
| ⇨ right arrow hollow some | ||
| ➢ right arrow head some | ||
| ❖ Black diamond minus white X some | ||
| ⇒ right double arrow some | ||
| ⇨ right white arrow some | ||
| ➢ right arrowhead some | ||
| ❖ black diamond minus white X some | ||
| ♣ black club some | ||
| ♦ black diamond some | ||
| § section all | ||
| ° degrees some | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because that variable lives outside the class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second thought,
globalis only necessary if you want to modify the value. Unnecessary use of this keyword was in the India code. Fixed.