3 ms·
Last time I checked, measuring font sizes using the canvas was horribly slow. So, I wonder how they perform measurements necessary for automatic line-wrapping,
by amelius 12y ago
Last time I checked, measuring font sizes using the canvas was horribly slow. So, I wonder how they perform measurements necessary for automatic line-wrapping, et cetera. Are they doing these measurements fully in javascript?
> Custom fonts are not currently supported but will be added in a future version.
Ok, that is a pity. I wonder if it has something to do with the complexity of implementing measureText fully in javascript.
- mjjohnston 12y agoCustom fonts are supported on flipboard.com using the same rendering engine. It was just a matter of time to extract the Flipboard specific bits out. This is coming soon.
- amelius 12y agoI was also wondering how you embed video. And what if an element in the virtual DOM (e.g., a popup box) overlaps with the video?