├── .github └── workflows │ └── ci.yml ├── .gitignore ├── Cargo.toml ├── LICENSE ├── README.md ├── draw-cache ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── README.md ├── benches │ ├── draw_cache.rs │ ├── lipsum.txt │ ├── loads-of-unicode.txt │ └── st_vs_mt.rs └── src │ ├── geometry.rs │ └── lib.rs ├── fonts ├── DejaVuSans.ttf ├── DejaVuSansMono.ttf ├── Exo2-Light.otf ├── GaramondNo8-Reg.ttf ├── OpenSans-Italic.ttf ├── OpenSans-Light.ttf └── WenQuanYiMicroHei.ttf ├── gfx-glyph ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── README.md ├── examples │ ├── depth.rs │ ├── init.rs │ ├── lipsum.txt │ ├── loads-of-unicode.txt │ ├── paragraph.rs │ ├── performance.rs │ ├── pre_positioned.rs │ └── varied.rs └── src │ ├── builder.rs │ ├── draw_builder.rs │ ├── lib.rs │ ├── pipe.rs │ ├── shader │ ├── frag.glsl │ └── vert.glsl │ └── trace.rs ├── glyph-brush ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── README.md ├── benches │ ├── glyph_brush.rs │ ├── lipsum.txt │ ├── lots_of_lipsum.txt │ └── small_lipsum.txt ├── examples │ ├── draw_cache_guts.rs │ ├── opengl.rs │ ├── shader │ │ ├── img.fs │ │ ├── img.vs │ │ ├── text.fs │ │ └── text.vs │ └── text │ │ └── lipsum.txt └── src │ ├── extra.rs │ ├── glyph_brush.rs │ ├── glyph_brush │ └── builder.rs │ ├── glyph_calculator.rs │ ├── legacy.rs │ ├── lib.rs │ ├── section.rs │ └── section │ ├── builder.rs │ ├── owned.rs │ └── refed.rs ├── layout ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── README.md └── src │ ├── builtin.rs │ ├── characters.rs │ ├── font.rs │ ├── lib.rs │ ├── linebreak.rs │ ├── lines.rs │ ├── section.rs │ └── words.rs └── test /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/target/ 2 | **/*.rs.bk 3 | Cargo.lock 4 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/README.md -------------------------------------------------------------------------------- /draw-cache/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/draw-cache/CHANGELOG.md -------------------------------------------------------------------------------- /draw-cache/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/draw-cache/Cargo.toml -------------------------------------------------------------------------------- /draw-cache/LICENSE: -------------------------------------------------------------------------------- 1 | ../LICENSE -------------------------------------------------------------------------------- /draw-cache/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/draw-cache/README.md -------------------------------------------------------------------------------- /draw-cache/benches/draw_cache.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/draw-cache/benches/draw_cache.rs -------------------------------------------------------------------------------- /draw-cache/benches/lipsum.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/draw-cache/benches/lipsum.txt -------------------------------------------------------------------------------- /draw-cache/benches/loads-of-unicode.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/draw-cache/benches/loads-of-unicode.txt -------------------------------------------------------------------------------- /draw-cache/benches/st_vs_mt.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/draw-cache/benches/st_vs_mt.rs -------------------------------------------------------------------------------- /draw-cache/src/geometry.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/draw-cache/src/geometry.rs -------------------------------------------------------------------------------- /draw-cache/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/draw-cache/src/lib.rs -------------------------------------------------------------------------------- /fonts/DejaVuSans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/fonts/DejaVuSans.ttf -------------------------------------------------------------------------------- /fonts/DejaVuSansMono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/fonts/DejaVuSansMono.ttf -------------------------------------------------------------------------------- /fonts/Exo2-Light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/fonts/Exo2-Light.otf -------------------------------------------------------------------------------- /fonts/GaramondNo8-Reg.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/fonts/GaramondNo8-Reg.ttf -------------------------------------------------------------------------------- /fonts/OpenSans-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/fonts/OpenSans-Italic.ttf -------------------------------------------------------------------------------- /fonts/OpenSans-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/fonts/OpenSans-Light.ttf -------------------------------------------------------------------------------- /fonts/WenQuanYiMicroHei.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/fonts/WenQuanYiMicroHei.ttf -------------------------------------------------------------------------------- /gfx-glyph/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/CHANGELOG.md -------------------------------------------------------------------------------- /gfx-glyph/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/Cargo.toml -------------------------------------------------------------------------------- /gfx-glyph/LICENSE: -------------------------------------------------------------------------------- 1 | ../LICENSE -------------------------------------------------------------------------------- /gfx-glyph/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/README.md -------------------------------------------------------------------------------- /gfx-glyph/examples/depth.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/examples/depth.rs -------------------------------------------------------------------------------- /gfx-glyph/examples/init.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/examples/init.rs -------------------------------------------------------------------------------- /gfx-glyph/examples/lipsum.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/examples/lipsum.txt -------------------------------------------------------------------------------- /gfx-glyph/examples/loads-of-unicode.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/examples/loads-of-unicode.txt -------------------------------------------------------------------------------- /gfx-glyph/examples/paragraph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/examples/paragraph.rs -------------------------------------------------------------------------------- /gfx-glyph/examples/performance.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/examples/performance.rs -------------------------------------------------------------------------------- /gfx-glyph/examples/pre_positioned.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/examples/pre_positioned.rs -------------------------------------------------------------------------------- /gfx-glyph/examples/varied.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/examples/varied.rs -------------------------------------------------------------------------------- /gfx-glyph/src/builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/src/builder.rs -------------------------------------------------------------------------------- /gfx-glyph/src/draw_builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/src/draw_builder.rs -------------------------------------------------------------------------------- /gfx-glyph/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/src/lib.rs -------------------------------------------------------------------------------- /gfx-glyph/src/pipe.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/src/pipe.rs -------------------------------------------------------------------------------- /gfx-glyph/src/shader/frag.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/src/shader/frag.glsl -------------------------------------------------------------------------------- /gfx-glyph/src/shader/vert.glsl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/src/shader/vert.glsl -------------------------------------------------------------------------------- /gfx-glyph/src/trace.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/gfx-glyph/src/trace.rs -------------------------------------------------------------------------------- /glyph-brush/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/CHANGELOG.md -------------------------------------------------------------------------------- /glyph-brush/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/Cargo.toml -------------------------------------------------------------------------------- /glyph-brush/LICENSE: -------------------------------------------------------------------------------- 1 | ../LICENSE -------------------------------------------------------------------------------- /glyph-brush/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/README.md -------------------------------------------------------------------------------- /glyph-brush/benches/glyph_brush.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/benches/glyph_brush.rs -------------------------------------------------------------------------------- /glyph-brush/benches/lipsum.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/benches/lipsum.txt -------------------------------------------------------------------------------- /glyph-brush/benches/lots_of_lipsum.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/benches/lots_of_lipsum.txt -------------------------------------------------------------------------------- /glyph-brush/benches/small_lipsum.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/benches/small_lipsum.txt -------------------------------------------------------------------------------- /glyph-brush/examples/draw_cache_guts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/examples/draw_cache_guts.rs -------------------------------------------------------------------------------- /glyph-brush/examples/opengl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/examples/opengl.rs -------------------------------------------------------------------------------- /glyph-brush/examples/shader/img.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/examples/shader/img.fs -------------------------------------------------------------------------------- /glyph-brush/examples/shader/img.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/examples/shader/img.vs -------------------------------------------------------------------------------- /glyph-brush/examples/shader/text.fs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/examples/shader/text.fs -------------------------------------------------------------------------------- /glyph-brush/examples/shader/text.vs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/examples/shader/text.vs -------------------------------------------------------------------------------- /glyph-brush/examples/text/lipsum.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/examples/text/lipsum.txt -------------------------------------------------------------------------------- /glyph-brush/src/extra.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/src/extra.rs -------------------------------------------------------------------------------- /glyph-brush/src/glyph_brush.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/src/glyph_brush.rs -------------------------------------------------------------------------------- /glyph-brush/src/glyph_brush/builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/src/glyph_brush/builder.rs -------------------------------------------------------------------------------- /glyph-brush/src/glyph_calculator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/src/glyph_calculator.rs -------------------------------------------------------------------------------- /glyph-brush/src/legacy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/src/legacy.rs -------------------------------------------------------------------------------- /glyph-brush/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/src/lib.rs -------------------------------------------------------------------------------- /glyph-brush/src/section.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/src/section.rs -------------------------------------------------------------------------------- /glyph-brush/src/section/builder.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/src/section/builder.rs -------------------------------------------------------------------------------- /glyph-brush/src/section/owned.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/src/section/owned.rs -------------------------------------------------------------------------------- /glyph-brush/src/section/refed.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/glyph-brush/src/section/refed.rs -------------------------------------------------------------------------------- /layout/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/layout/CHANGELOG.md -------------------------------------------------------------------------------- /layout/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/layout/Cargo.toml -------------------------------------------------------------------------------- /layout/LICENSE: -------------------------------------------------------------------------------- 1 | ../LICENSE -------------------------------------------------------------------------------- /layout/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/layout/README.md -------------------------------------------------------------------------------- /layout/src/builtin.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/layout/src/builtin.rs -------------------------------------------------------------------------------- /layout/src/characters.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/layout/src/characters.rs -------------------------------------------------------------------------------- /layout/src/font.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/layout/src/font.rs -------------------------------------------------------------------------------- /layout/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/layout/src/lib.rs -------------------------------------------------------------------------------- /layout/src/linebreak.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/layout/src/linebreak.rs -------------------------------------------------------------------------------- /layout/src/lines.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/layout/src/lines.rs -------------------------------------------------------------------------------- /layout/src/section.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/layout/src/section.rs -------------------------------------------------------------------------------- /layout/src/words.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/layout/src/words.rs -------------------------------------------------------------------------------- /test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexheretic/glyph-brush/HEAD/test --------------------------------------------------------------------------------