Comments (4)
@Peaker - sorry to pull you in on my project, but you probably have experience with rendering lots of text with lamdu. Have you run into this problem before? What are you using to render and layout text in lamdu?
from odin.
A little more spelunking and it looks like it's FTGL via graphics-drawingcombinators, added in lamdu/lamdu@f9aa3a4
from odin.
Font rendering was far harder than I anticipated.
Text has no width, really, but a bounding box and an "advance".
We switched from FTGL which doesn't have subpixel rendering to freetype-gl with some minor modifications, that does. It's also a c codebase around libfreetype so easier to compile everywhere.
It does the width computations for us and I've not noticed slowness of text geometry computations, but I've not done extensive profiling either.
from odin.
Thanks for that, I'm checking out freetype-gl now, which may make this ticket moot.
Sent from my iPhone
On Aug 18, 2016, at 11:15 AM, Eyal Lotem [email protected] wrote:
Font rendering was far harder than I anticipated.
Text has no width, really, but a bounding box and an "advance".
We switched from FTGL which doesn't have subpixel rendering to freetype-gl with some minor modifications, that does. It's also a c codebase around libfreetype so easier to compile everywhere.
It does the width computations for us and I've not noticed slowness of text geometry computations, but I've not done extensive profiling either.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from odin.
Related Issues (20)
- Selector widget
- stack build fails HOT 2
- remove this when vector supports nub
- Change this to 'getFontMapVar'
- ^ Change this to V2 Float
- Move a bunch of this stuff into the backend
- Provide a way to clean up the handle, etc
- Provide a way to clean up the handle, etc
- remove this when vector supports nub...
- Change this to 'getFontMapVar'...
- ^ Change this to V2 Float...
- Move a bunch of this stuff into the backend.
- Provide a way to clean up the handle, etc...
- Provide a way to clean up the handle, etc...
- Change this to 'getFontMapVar'...
- Move a bunch of this stuff into the backend.
- Provide a way to clean up the handle, etc...
- ^ Change this to V2 Float...
- remove this when vector supports nub...
- Check box widget
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 odin.