Erin
46c037baa0
textium: more work on the glium renderer
fuck me i'm not splitting this up
8 years ago
Erin
4fe8b6002a
textium: render_atlas example should render at a higher scaling
8 years ago
Erin
c26650a729
textium: rect: numcast
lol there was a bug in this and it fucking sucked
8 years ago
Erin
239bbf6ec8
textium: Rect: add gl_bottom()
8 years ago
Erin
dbd0e4bc03
textium: geometry: conversion from rusttype Rects
8 years ago
Erin
848495a631
textium: add a Vec2d
8 years ago
Erin
dde62e4e83
textium: relax ordering constraints on Rect<T>
8 years ago
Erin
39004d5cce
textium: pull in num_traits
8 years ago
Erin
0e4cd7f11a
textium: reexport the glium renderer module
8 years ago
Erin
d7dd08d027
textium: add some getters to the cache
8 years ago
Erin
f0bc15f5c7
textium: remove metrics from structs, make a bunch of fields pub
8 years ago
Erin
9528025a23
textium: start work on a gl/glium renderer
8 years ago
Erin
7205ed386c
textium: face cache example (really should move some of these to tests)
8 years ago
Erin
78355c6a15
textium: add face cache
8 years ago
Erin
6cfb74b246
textium: fonts should not own a texture
8 years ago
Erin
c8da3176c6
textium: minor random cleanup
8 years ago
Erin
482b7bee0c
textium: documentation
8 years ago
Erin
7bcd4e42f9
textium: Add render_atlas example (packs atlas, exports as png)
8 years ago
Erin
372ff8d2e7
textium::texture::Bitmap: add raw() -> &[T], into_raw() -> Vec<T>
8 years ago
Erin
3a1f156d8e
textium: fix mod visibility
8 years ago
Erin
38b8ec513d
ignore textium's Cargo.lock
8 years ago
Erin
f1af59f93f
Add render_atlas.rs example
8 years ago
Erin
3dd5d61021
update visibility for some struct fields
8 years ago
Erin
6b15380d1a
rasterizer: remove debug, add reminder to fix space packing
8 years ago
Erin
9690084c28
textium::texture: implement a rotated patch method for the packer
8 years ago
Erin
1c833836f8
textium: fix a few issues in rasterization
* don't underflow bbox {x,y}
* actually specify a pack resize strategy when packing
* fix the type signature of make_atlas
* bring packer::{Packer, GrowingPacker} traits into scope
8 years ago
Erin
2b6109fc3e
textium: Implement the skyline atlas packer
8 years ago
Erin
8129153a79
Finish implementation of textium::Font::make_atlas()
8 years ago
Erin
eb210ea9cb
textium: Specify atlas packer traits
8 years ago
Erin
cd93bc73da
textium: Add, wire up, and add example of rasterizing characters
8 years ago
Erin
d4073aae42
textium: significant improvements in texture abstraction
8 years ago
Erin
64b7849c66
textium: tweak GlyphMetadata, remove FontPacker, FontTexture
8 years ago
Erin
5bedf6be49
Make textium::geometry::Rect fields public
8 years ago
Erin
85221b5e4e
Start work on rasterizer
8 years ago
Erin
b7b7c5ec18
textium: texture utils
8 years ago
Erin
2da16d8a38
textium::geometry::Rect
8 years ago
Erin
8bae08f21e
Cargo setup, basic Glium app
8 years ago
Erin
dc558a746c
Initial commit
8 years ago