Commit graph

84 commits

Author SHA1 Message Date
172711cad3 fix wrapping, and textAlignment 2023-06-13 16:43:13 +02:00
73d17b2a03 only use individual letterDelays 2023-06-09 17:52:05 +02:00
e66e5ae502 use uniform buffer 2023-06-09 06:57:31 +02:00
1ab9d7b2cc atlas resolution independent scale 2023-06-03 17:16:02 +02:00
3016879e22 pass GPUFont/MsdfAtlasLayerComboSettings as reference 2023-06-03 14:51:55 +02:00
5453e3da0d switch back to GL_TEXTURE_2D_ARRAY 2023-05-29 17:50:45 +02:00
8f1e73eb6a pass shader to font 2023-05-29 17:50:19 +02:00
f26de38913 shuffle shaders 2023-05-29 10:10:48 +02:00
610ce89bfa make shaderCatalog shared_ptr 2023-05-29 09:56:03 +02:00
49b32d3f39 introduce buffer target type 2023-05-29 09:51:24 +02:00
8a1497fb4f remove unnecessary gpuTextureOffset 2023-05-29 09:42:06 +02:00
922566f597 use and save to cache 2023-05-28 22:03:15 +02:00
95527561d0 fix bounding box 2023-05-17 22:34:05 +02:00
840dbce493 individual letterDelays on cpp side 2023-05-16 18:48:34 +02:00
012987c11b introduce layerOrder 2023-05-14 08:33:23 +02:00
976e309a54 wrapping with slight error on side 2023-05-06 22:12:40 +02:00
24273912cb attempt wrap text [debug] 2023-05-05 22:03:51 +02:00
29d9b44140 boundingbox for the complete layer 2023-05-05 15:03:16 +02:00
28d6a59ef2 decrease layer count when removing layer 2023-05-05 15:01:52 +02:00
52086dbcd9 do not round variation axes
we introduced this to possibly decrease memory footprint,
but some fonts are more granular than others
2023-05-05 14:58:15 +02:00
e1746e5ab6 add lineHeight 2023-05-03 14:58:16 +02:00
dfe0f4872b add letterSpacing 2023-05-02 17:38:23 +02:00
30c1d7f5a2 allow setting width/height for layerComposition 2023-04-30 17:40:45 +02:00
6d24ca935f comment/remove debug drawings 2023-04-26 16:11:59 +02:00
20c00d064e comment debug bitmapstrings 2023-04-22 16:36:38 +02:00
af6a1a580d no mouse influenced antialias window size 2023-04-22 16:20:37 +02:00
2117df65c4 remove grey antialias border 2023-04-22 16:01:40 +02:00
7a39530cfe profile update funtion, add todo for fixing propsbuffer update when no props are sent 2023-04-22 14:24:25 +02:00
cfe9d56e65 getLayers() from a layerComposition 2023-04-22 13:48:02 +02:00
9a7b3edc9e fix propsBuffer & introduce lastProps 2023-04-22 11:59:21 +02:00
1e4588357d glyph appearance and color 2023-04-19 16:51:02 +02:00
01f2960f5d remove unnecessary file 2023-04-19 16:47:21 +02:00
9e215008d3 add example with profiler (for compile_commands) 2023-04-19 16:46:41 +02:00
7ef6d13c93 include ofxProfiler 2023-04-19 13:51:41 +02:00
297542abc9 letterDelay for variations 2023-04-18 18:05:33 +02:00
24c52521e4 little cleanup 2023-04-18 18:04:13 +02:00
53ba177225 simple mirroring 2023-04-18 16:04:13 +02:00
7d4786d418 nodes per layer and transform origin fixes 2023-04-18 14:58:09 +02:00
53f3b92e70 transform origins 2023-04-18 13:22:06 +02:00
e357a7f4a2 layer combos without children are erased 2023-04-18 13:19:28 +02:00
8fe23edc1f add color in BufferVertex 2023-04-17 20:14:39 +02:00
74fed4e1f4 external ofNode to transform text 2023-04-17 17:16:00 +02:00
d78c341871 little cleanup 2023-04-17 17:06:15 +02:00
65ca48275c slight refactor of utility types, improve mom-child relationship 2023-04-16 17:20:54 +02:00
99f2055553 identify glyphs by character and variations 2023-04-16 14:52:37 +02:00
c071d3bd9c list font variation axes 2023-04-14 18:24:04 +02:00
bd81be30df prepare to connect with theatrejs 2023-04-14 16:55:15 +02:00
095580d851 fix float array 2023-04-13 21:41:59 +02:00
70eb4f97f4 GPUFont with layers 2023-04-13 17:15:35 +02:00
dce5e7c57a fun with ofxGPUfont
(single draw call for multiple texts)
2023-04-13 12:56:17 +02:00