Comments (5)
@KimDal-hyeong you are quick! I love that you also sent a PR to react-sketchapp: airbnb/react-sketchapp#214 ❤️
from html-sketchapp.
Found the Sketch API change: abynim/Sketch-Headers@7e6304f#diff-b97d00bfd9d7ffea3e8aab5a3ec9f0f4L50
from html-sketchapp.
Looks like the solution is to provide a document colour space.
from html-sketchapp.
The message is that initWithAttributedString
is undefined
.
So, I use initWithEncodedAttributedString
instead.
It works well.
fixFont.js 110 line
const encodedAttribStr = MSAttributedString.encodeAttributedString(fullStr);
const msAttribStr = MSAttributedString.alloc().initWithEncodedAttributedString(
encodedAttribStr
);
But I don't know why initWithAttributedString
is undefined
....?
from html-sketchapp.
If you look at the diff I linked to, it looks like initWithAttributedString
has been deprecated in Sketch 48.
from html-sketchapp.
Related Issues (20)
- Just a huge thank you HOT 1
- Sketch 53 doesn’t import HOT 3
- 'svgLayers.layers' is undefined HOT 3
- textAlign center causes text wrap HOT 4
- 4.3 Release HOT 1
- [Question] Defining Text Overrides on a SymbolInstance
- Text element with nested element that needs to wrap, overlaps layers in sketch
- Could someone please suggest, is it possible to get data if the website requires login? HOT 3
- Importing SVG icons with viewBox respected or with artboard that has correct height is not working HOT 2
- Named colors - API ready? HOT 1
- Support variable fonts
- Editing svg layer crash sketch app. HOT 3
- asketch2sketch plugin doesn't work with Sketch v64 HOT 4
- X layers couldn't be imported and were skipped. HOT 15
- how to cover html dom to sketch in current selection?
- No commits for a while HOT 4
- background-image svg generater assets thicker than the original size
- A node has background-image is svg and background-color at the same time, does not support rendering HOT 10
- v4.4.1 Release is missing the asketch2sketch plugin asset file HOT 2
- Bookmarklet Implementation
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 html-sketchapp.