1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-27 02:25:28 +03:00
Commit Graph

3608 Commits

Author SHA1 Message Date
Wez Furlong
739d25c21b cargo fmt with larger column allowance 2018-01-16 23:03:16 -08:00
Wez Furlong
471f3d0800 populate GlyphInfo.text only in debug builds 2018-01-16 23:01:55 -08:00
Wez Furlong
611e4b3505 fixup bearing_x handling and unicode width
Trigger x-scaling based on the x_advance rather than the bitmap width.
Also account for the unicode width of the fragment when scaling.

The use of bearing_x was incorrect; we were subtracting it rather
than adding it and making the glyphs look terrible at smaller sizes.
2018-01-16 22:50:47 -08:00
Wez Furlong
a5535d4c5b scale emoji bitmaps to match size of preferred font 2018-01-16 00:24:49 -08:00
Wez Furlong
2d5c54a642 implement fallback and rendering for color emoji 2018-01-15 22:45:25 -08:00
Wez Furlong
02bab4fcc7 Add fontconfig support to locate fonts
Also restructure things a little bit to facilitate more robust
fallback implementation.
2018-01-15 17:32:31 -08:00
Wez Furlong
d82860ef5a Render text on sdl using harfbuzz and freetype 2018-01-14 23:34:59 -08:00
Wez Furlong
c53ca64c33 kick things off with a readme 2017-12-07 08:20:29 -08:00