Commit graph

38 commits

Author SHA1 Message Date
dda49a89ea fix space no good character 2023-09-06 12:51:47 +02:00
b2cfc9ffd8 use uniform buffer, though glitchy 2023-05-29 15:43:56 +02:00
0b41ae9f97 introduce buffer target type 2023-05-29 09:50:52 +02:00
45240df10c remove unnecessary gpuTextureOffset 2023-05-29 09:41:51 +02:00
d89034e540 replace template variables in shaders 2023-05-29 08:05:06 +02:00
7a0f588bcb add gl_max_uniform_block_size 2023-05-29 08:03:15 +02:00
c1fd3abce1 comment non existing static members 2023-05-28 22:07:15 +02:00
c06543bac6 add font.cpp for static members 2023-05-28 22:00:46 +02:00
f9629b44f8 don't flip contour for inside shapes 2023-05-27 16:06:00 +02:00
a3fd4a6e9b flip contour if counter-clockwise 2023-05-27 10:31:45 +02:00
0cbcd35f52 better error message 2023-05-27 09:33:45 +02:00
91a164c1ef add optional wrapWidth 2023-05-14 08:34:28 +02:00
fd888cf60c add lineHeight 2023-05-02 20:37:32 +02:00
a70ece33f1 add letterSpacing 2023-05-02 17:37:36 +02:00
e17c0e4038 do not include gles outside TARGET_OPENGLES 2023-04-30 17:39:35 +02:00
1fb3c95eb8 proper layerPointer and indefinite amount layers per texture array 2023-04-29 21:32:38 +02:00
7feb9630e6 use a texture array instead of texture 2023-04-29 18:39:00 +02:00
351a9ac2ec rename gl variables for hopeful clarification 2023-04-26 16:20:58 +02:00
0eab1db037 use std::array instead of c-style array 2023-04-22 11:55:04 +02:00
2f506000ab glyph appearance and color 2023-04-19 16:52:56 +02:00
c37609f3f7 add bounding boxes 2023-04-18 13:18:29 +02:00
133b74699e add color in BufferVertex 2023-04-17 20:13:03 +02:00
c94acb14a2 external ofNode to transform text 2023-04-17 17:15:44 +02:00
c9f89f5853 pseudo rotation with ofNode 2023-04-17 17:07:36 +02:00
cd4d7f2224 cout correctly ... 2023-04-16 17:20:04 +02:00
1af76d8726 identify glyphs by character and variations 2023-04-16 14:51:41 +02:00
3a156be801 check for existing #defines 2023-04-16 07:37:49 +02:00
eff83cda8b add ft2build header for freetype 2023-04-14 16:54:14 +02:00
d40db6389b textureOffset & other smaller things 2023-04-13 17:16:08 +02:00
604240360e allow collection of vertices/indices
this way we need only one draw call for multiple layers
2023-04-13 12:54:49 +02:00
8b7cb20503 allow external update request 2023-04-13 12:42:32 +02:00
b49d3cf459 pixel perfect font size 2023-04-13 07:24:16 +02:00
48c64c9326 naive vFlip 2023-04-12 15:48:33 +02:00
c69c17899e cleanup 2023-04-12 15:48:16 +02:00
5d3dbc075c automatically get correct float size for curve buffer 2023-04-12 13:57:44 +02:00
ee47b7649a slight refactor 2023-04-12 11:07:19 +02:00
470b831c61 slight refactor 2023-04-11 17:45:20 +02:00
6661f7eb0f initital commit 2023-03-31 16:45:23 +02:00