3 ms·
Don't all serious desktop environment render glyphs using the GPU anyway? So don't you get that for free when you use the standard frameworks?
by chrisseaton 5y ago
Don't all serious desktop environment render glyphs using the GPU anyway? So don't you get that for free when you use the standard frameworks?
- myfavoritedog 5y agoStandard frameworks give you text frames with minimal hooks to customize them and "good enough" performance. They're great for dumping a log file to or for small documents, but when you want the fine control of a text editor that can handle big files, you need to roll your own.
- kazinator 5y agoGPU acceleration of the text editing viewport, which will not show much more than 100 lines of text at any time, has almost nothing to do with the issues in editing large files.
- floatboth 5y agoGtk4 and QML sure do (QML still (?) uses SDFs, Gtk4 uses atlas textures like WebRender does). Older frameworks don't.
- jcelerier 5y agoThe default in QML used to be atlases, you can revert back to them with the following: renderType: Text.NativeRendering or: QQuickWindow::setTextRenderType