Comments (9)
I can't read the discord thread. What is the use case for using system fonts?
from drawbot.
For this particular case, I was trying to annotate the glyph cell background in the font overview with a system font.
from drawbot.
When you say "the font overview", do you mean "RoboFont's font overview"? If so, how does that use DrawBot?
from drawbot.
- yes
- it uses a subset of drawBot functionalities: https://www.robofont.com/documentation/reference/api/mojo/mojo-drawingtools/
from drawbot.
But isn't that implementation separate from DrawBot? I see how it's useful there, but not immediately in DrawBot-proper.
from drawbot.
CoreText does not allow font names starting with a .
(those are system fonts) but there are available and accessible with NSFont. systemFontOfSize_(size)
.
DrawBot already supports NSImage object in image(..)
An other option would be to have a small wrapper for system fonts.
from drawbot.
CoreText does not allow font names starting with a . (those are system fonts) but there are available and accessible with NSFont. systemFontOfSize_(size) .
I understand that. Why do we need to be able to use them in DrawBot?
from drawbot.
Why do we need to be able to use them in DrawBot?
Because its strange Apple does not allow systemFonts .<fontName>
anymore, even they are installed and accessible with NSFont.systemFontOfSize_ and similar. The other option is to download all these fonts and install them if you would like to use them.
from drawbot.
Because its strange Apple does not allow systemFonts
That is not an answer to my question, though...
I'm not necessarily opposed to accepting NSFont (and or CGFont then?) in all font-releated drawbot calls, but so far the only answer I got for "why do we need this in DrawBot" is a use case for a drawbot-like API which isn't DrawBot.
from drawbot.
Related Issues (20)
- 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
- set CGContextSetAllowsFontSubpixelQuantization to False HOT 1
- font() does not support "dotted" font names, but installedFonts() does return them HOT 6
- variable font is not able to add glyphs by glyphName HOT 17
- ImageObject.opTile() error HOT 3
- ImageObject.dotScreen() not applying to shadow() HOT 2
- Black settings HOT 9
- feature request: full justification
- ImageObject.randomGenerator() yields a constant result HOT 2
- font issue or drawbot issue HOT 7
- Clean up requirements.txt and README.md, pin versions, use dependabot HOT 5
- Can't install noise using the built in pip installer, v3.130 HOT 1
- Some tests fail on macOS 14 HOT 1
- Install Python Packages causes deprecation warning under Python 3.12
- add support for lineDash phase HOT 1
- Remove defconAppKit dependency
- Arabic type settings mixed with Latin characters looks to be wrong HOT 9
- RGB color accuracy?
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.