f35a88ce0b
Also fixes a bug where we didn't triangulate at all when the char count didn't warrant the likely overhead of spinning up a thread_pool. And fix another bug where EDA_TEXT::GetRenderCache() wasn't using the given font. Also reverts using the cache for drawing-sheet text. The text items are created from scratch from the data items each time they're drawn, so there's never an existing cache to make use of. Instead, we now check that the item is in the view, using a very approximate bounding box generator (because even generating a real bounding box shows up large in profiles). And, lastly, fixes a bug where EndPos was never considered in DS_DATA_ITEM::IsInsidePage(). Fixes https://gitlab.com/kicad/code/kicad/-/issues/14822 |
||
---|---|---|
.. | ||
SmaaAreaTex.h | ||
SmaaSearchTex.h | ||
antialiasing.cpp | ||
antialiasing.h | ||
bitmap_font_desc.c | ||
bitmap_font_img.c | ||
cached_container.cpp | ||
cached_container_gpu.cpp | ||
cached_container_ram.cpp | ||
font-specification.svg | ||
gl_resources.cpp | ||
gl_resources.h | ||
gpu_manager.cpp | ||
noncached_container.cpp | ||
opengl_compositor.cpp | ||
opengl_gal.cpp | ||
shader.cpp | ||
ubuntu-font-licence-1.0.txt | ||
utils.cpp | ||
vertex_container.cpp | ||
vertex_item.cpp | ||
vertex_manager.cpp |