Comments (9)
Have you checked with listOpenTypeFeatures
if the font contains the 'calt' feature?
A Test run with this little snippet gave exactly 0 fonts on my machine .
fonts = installedFonts()
for font in fonts:
l = listOpenTypeFeatures( font )
if not l:
continue
if 'calt' in l:
print font, l
from drawbot.
There is an issue with a calt
feature, this is automatically enabled by CoreText. Switching it off prevent the replacement in an attributed string with a NSGlyphInfo. Im investigating...
from drawbot.
Have you checked with listOpenTypeFeatures if the font contains the 'calt' feature?
Yes – I know it’s there, and I can see it being on. :)
from drawbot.
PS. For what it’s worth, I just realized that calt=False
actually appears to work fine when the FormattedString was put together using append()
, just not for glyphs appended via appendGlyph()
.
from drawbot.
This should be fixed in ff3ce72
.appendGlyph(...)
should always disable the calt
feature, I guess this is the only one that is automatically on. If there are more features on by default, please report.
from drawbot.
That was fast :D Thank you very much!
Are changes here automatically carried over to the drawBotRoboFontExtension? (I’m using drawBot as a module currently)
from drawbot.
Not yet, diner first ;)
gr
Frederik
www.typemytype.com
On 5 nov. 2015, at 17:46, Nina Stössinger [email protected] wrote:
That was fast :D Thank you very much!
Are changes here automatically carried over to the drawBotRoboFontExtension? (I’m using drawBot as a module currently)—
Reply to this email directly or view it on GitHub.
from drawbot.
Haha, eet smakelijk :)
from drawbot.
done,
enjoy!
from drawbot.
Related Issues (20)
- ImageObject renders scaled when its image input dpi metadata is not 72 HOT 1
- File size of pdf with image HOT 2
- Upgrade notarization to use notarytool instead of altool HOT 1
- Improve `language()` support / implementation HOT 8
- Serving `NSFont` to `font` HOT 9
- `imageSize()` with svg images HOT 6
- Combining `textBoxCharacterBounds()` with `FormattedString.fontFilePath()` does not seem to work
- Add argument for listFontGlyphNames() ? HOT 4
- fontContainsCharacters() returns False for characters > U+FFFF even though the font actually maps them HOT 3
- FormattedString.appendGlyph("Space") creates unexpected justification ? HOT 3
- TextBox() text clipping when used as a module HOT 3
- Apparently DrawBot does not respect PDF clip box HOT 1
- Multiple fonts for `fallbackFont` HOT 1
- Function to get current fontSize() HOT 2
- CMYK Colors and Color profile do not export correctly with saveImage()
- Cannot use font’s .notdef glyph in FormattedString
- set alpha value
- Internal Links on PDFs generated with DrawBot behave differently on Preview+Safari compared to Acrobat Reader HOT 6
- Formattedstring Strikethrough Attribute HOT 4
- `textBoxCharacterBounds(align="center")` doesn’t seem to work HOT 2
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 drawbot.