Selaa lähdekoodia

Add kb to vendor/README.md

Jeroen van Rijn 1 kuukausi sitten
vanhempi
commit
6563230bd0
2 muutettua tiedostoa jossa 25 lisäystä ja 0 poistoa
  1. 6 0
      vendor/README.md
  2. 19 0
      vendor/kb_text_shape/src/LICENSE

+ 6 - 0
vendor/README.md

@@ -158,3 +158,9 @@ Se also LICENCE in `cgltf` directory itself.
 ## fontstash (Port)
 
 [Font stash](https://github.com/memononen/fontstash) is a light-weight online font texture atlas builder. It uses stb_truetype to render fonts on demand to a texture atlas.
+
+## kb
+
+[kb](https://github.com/JimmyLefevre/kb) provides ICU-like text segmentation (i.e. breaking Unicode text by direction, line, word and grapheme). It also provides Harfbuzz-like text shaping for OpenType fonts, which means it is capable of handling complex script layout and ligatures, among other things.
+
+It does not handle rasterization. It will only help you know which glyphs to display where!

+ 19 - 0
vendor/kb_text_shape/src/LICENSE

@@ -0,0 +1,19 @@
+zlib License
+
+(C) Copyright 2024-2025 Jimmy Lefevre
+
+This software is provided 'as-is', without any express or implied
+warranty.  In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not
+  claim that you wrote the original software. If you use this software
+  in a product, an acknowledgment in the product documentation would be
+  appreciated but is not required.
+2. Altered source versions must be plainly marked as such, and must not be
+  misrepresented as being the original software.
+3. This notice may not be removed or altered from any source distribution.