Comments (8)
Need to think of a way to differentiate between punctuation that go to end of lines and start of lines.
from typography.
@MartinZikmund Typography.TextBreak only chops text into pieces depending on the text type, e.g. punctuation, space, newline and normal text. Any line breaking and special handling of punctuation is on CSharpMath's side.
from typography.
Do you know about CShrapMath word-wrap algorithm ?
What do you think about this line-breaking?
from typography.
Useful Info : http://www.unicode.org/versions/Unicode13.0.0/ch06.pdf
from typography.
Figure 6-3. European Quotation Marks
Single right quote = apostrophe
‘quote’ don’t
Usage depends on language
“English” | « French » |
---|---|
„German“ | »Slovenian« |
”Swedish” | »Swedish books» |
from typography.
We can probably just group punctuation with normal text as a single word-wrap group as spaces seem to be inserted before start-of-line punctuation and after end-of-line punctuation.
from typography.
Oh I see! Sorry for the confusion 🙂
from typography.
see also
"UnicodeCategory Enum" https://docs.microsoft.com/en-us/dotnet/api/system.globalization.unicodecategory?view=netcore-3.1
from typography.
Related Issues (20)
- Where is `GlyphLayout.ReadOutput` now? HOT 5
- C# implementation of path rendering HOT 2
- WordBreak bug HOT 1
- Word Break Bug, accented characters HOT 1
- Caching unscaled path HOT 2
- DPI and final pixels size calculation? HOT 1
- Review "Internationalized String Preparation"
- Avoid closing stream by OpenFontReader.ReadPreview HOT 1
- Is this a correct way to calculate the actual line-height of a typeface in specific font size? HOT 3
- how should I use this? HOT 1
- [Question] Type2 hintmask and cntmask HOT 14
- GetGlyphIndex sets a dictionary value and can fail
- Support more scripts, e.g. Cyrillic, in TextBreaker by default
- How to split a string into different WritingSystems/ScriptRuns ?
- the GlyphPointF structure did not make the onCurve public.
- Convert glyph outlined path to single line bezier path HOT 1
- How can we get OS/2 and HeadTable from Typeface?
- Does library supports Contextual Alternates (calt)?
- Issue with IntalledTypefaceFontCollectionExtensions.Register()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typography.