All notable changes to fonterator
will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Updated Dependencies
- Update to footile 0.5
- Update to ttf-parser 0.6
- Remove arguments on
Font.render()
, recommend using footileTransform
s instead.
- Some text layout algorithms that were completely wrong
- Updated to footile 0.4
monospace-font
feature is no longer enabled by default.
- Unknown unicode character crashing the program with a panic
dyn
Warnings- Clippy Warnings
- No longer panics when character can't be found
add()
onFont
is renamedpush()
.- Updated dependencies
- Text being drawn below the bounding box instead of inside.
TextAlign
enum (replacesvertical()
).licenses
function: returns a string of the embedded fonts' licenses.BOLD
,ITALIC
,NONE
constants, don't do anything yet.- Automatic Right to Left detection and glyph reordering. Gets rid of need for
right_to_left()
, so removed. - Text wrapping (see
examples/main.rs
for example on how to use) #![forbid(unsafe_code)]
- Use
ttf-parser
crate to support more fonts. - Use
monospace-font
&normal-font
features to enable functionsmonospace_font()
andnormal_font()
- WQY MicroHei -> DroidSans Fallback, fixes some Korean text rendering issues.
render()
now takes a bounding box. Makesxy()
unneeded, so removed.
multilingual_mono()
because it did bad typefacing.
- Release mode renders correctly now.
- Multi-lingual monospace not spacing correctly.
- You can now use footile from fonterator with
use fonterator::footile;
- Method
xy()
onPathIterator
- Upgrade to newer version of footile (
0.3
). - Renamed
FontChain
toFontGroup
. PathIterator
now iterates by mutable reference.
- Not all examples working.
FontChain
for default and fallback fonts.FontChain
is an abstraction over the oldFont
andFontCollection
structs, which are no longer part of the public API.- Proper support for multi-lingual monospace with
FontChain::multilingual_mono()
.
- Fix README.
- Added vertical text layout support.
- Added right-to-left text layout support.
- Depend on Footile for
PathOp
s rather than afi. - Simpler
render
API replaces old nested iterator stuff.
- Added to crates.io