Comments (2)
this is intentional to warm the font cache - from the documentation:
On 4.0+ devices, TextLayoutBuilder can warm up the FreeType font cache. By drawing these glyphs on a background thread onto a Picture, TextLayoutBuilder warms these glyphs and can help reduce their render time.
from textlayoutbuilder.
also, if you want to disable this behavior, you can leave out the setGlyphWarmer
call on your builder.
from textlayoutbuilder.
Related Issues (19)
- Support for break strategy HOT 3
- AbsoluteSizeSpan doesn't Scale Correctly
- `public Layout build()` method should contain @Nullable annotation for better kotlin interop
- Layout on background thread? HOT 5
- Set alignment is not work HOT 2
- No support for letter spacing
- Add support for setJustificationMode HOT 1
- Gradle fails to resolve version 1.3.1 HOT 4
- No release notes for 1.5.0 HOT 1
- How to set clickable span with staticLayout HOT 1
- What about migration on AndroidX?
- Restrictions on non-SDK interfaces HOT 1
- Abc
- Threre is no "setTextAppearance()" method in TextLayoutBuilder HOT 2
- the hide constructor method of android.text.StaticLayout HOT 2
- Usage 3 the method onDraw is wrong HOT 1
- Why infinity loop? HOT 4
- Creation of StaticLayout HOT 1
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 textlayoutbuilder.