Comments (6)
It appears you have applied the Tabular Figures to all the text, not just the figures.
In Inter v4 the tabular figures feature also includes a replacement for the space
character (with space.tf
which is a bit narrower).
When Affinity applies the OpenType replacement, the space loses its normal line-breaking characteristics.
Sometimes this makes sense.
Sometimes this does not make sense.
This has been discussed in the Affinity forum.
For example here: Justification Not Working
Note: the replacement space is treated like any other visible text character which makes the text have no spaces, so it is effectively one long block of characters - which Affinity then breaks at odd places. Remove all spaces from your text and you will see the same thing.
The work-around is to only apply the Tabular Figures feature to figures - not all the text.
from inter.
As always, thank you @kenmcd for all your help!
from inter.
That makes sense. Thanks for the clarification.
I guess this is an Affinity Designer/Publisher bug then, not Inter. What is the reason Inter uses space.tf
when tabular figures are activated?
from inter.
What is the reason Inter uses
space.tf
when tabular figures are activated?
So things will line-up when using a plain space.
Some fonts will only use the punctuation space
(to replace comma or period) and the figure space
to replace figures.
Often international financial reports just use those small punctuation spaces instead of a comma or period to break for 000's.
Avoids the whole commas/period vs. periods/comma issue.
This issue also arose in the Affinity forum when someone was using a font for Latin text and the font was primarily made for Arabic - and by default it had an OpenType replacement for space
which was wider - which was then also treated by Affinity as a plain text character.
Messed-up his Latin text.
from inter.
Interesting, this is much more complex than I imagined. Why does Source Sans, for instance, still keeps numbers aligned when using spaces (which, I assume, means it uses punctuation spaces) but doesn't have the same problem in affinity as Inter? Does this mean that Source Sans replaces spaces contextually while Inter replaces all spaces?
from inter.
Source Sans 3 (and Pro) has Tabular Figures by default.
So no need to enable them in Affinity, and no different space character to deal with.
They do have a figurespace
of the same width.
No punctuationspace
but it does have a thinspace
and narrownobreakspace
which can also be used.
Some fonts default to Proportional Lining figures (like Inter).
Some fonts default to Tabular Lining figures (like Source Sans).
Some fonts default to Proportional Oldstyle figures (e.g. EB Garamond, Junicode).
So depending on the default figures, a font may or may not also add a tabular figures feature.
from inter.
Related Issues (20)
- Missing Open Type Features (Figma) HOT 4
- Pipe (vertical bar) character "|" should not be italicized/slanted. HOT 2
- [Request] Horizontal touching Q (like Univers) as alternate for titling HOT 2
- Inter Variable font weights don't render properly HOT 3
- Bring back the alternate 'r' with oblique terminal HOT 1
- [Request] Inter from version 4.0 onwards no longer has an alternate 'r' with oblique terminal HOT 1
- Adobe Illustrator: Invalid vertical and horizontal Cyrillic characters: ГПРСТХй (InterDisplay-ExtraBold, v4.0) HOT 10
- [Bug] ordmasculine/feminine don't match Inter style (they are still reminiscent of Roboto) HOT 2
- The versions from 4.0 onwards no longer have the 'r' with oblique terminal. HOT 2
- Sharp S "ẞ" using the Frankfurt shape HOT 1
- Add plane symbol (✈︎) HOT 1
- Improvements to Cyrillic glyphs HOT 7
- [U+0189] "Đ" crossbar is too long in v4.
- Possible line height issue HOT 3
- on Safari "i" doesn't render with font weight 600 HOT 7
- Make it available on Samsung store
- Why Numbering is not aligned properly in MS Word HOT 2
- Italic missing round version of low quotes U+201E and U+201A
- The sample image in the README leads to "404 not found"
- Parentheses are not aligned HOT 5
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 inter.