Releases: AustinJ235/ilmenite
Releases · AustinJ235/ilmenite
0.14.0
0.13.0
- BREAKING
ImtParser::retreive_texthas had its spelling correct toImtParser::retrieve_text. - Added new method
has_fonttoIlmeniteto query if a font has been loaded. - Various types now implement
Copy:ImtWeight,ImtFillQuality,ImtSampleQuality,ImtVertAlign,ImtHoriAlign, &ImtTextWrap.
0.12.0
- BREAKING Update dependency
vulkano&vulkano-shadersto0.31. - BREAKING Update dependency
allsortsto0.11. - BREAKING Changes to
ImtImageViewnewhas been renamed tofrom_storage.- Added
from_attachment. - Added
image_view_refto retreive the inner image view. - Fixed bug that caused needless image transitions.
- BREAKING
ImtFontPropsnow has four additional fields.min_x,max_x,min_y,max_ythat are from theheadheader.
- Changes to rasterization (GPU Only for Now)
- Gain curve is now applied to values resulting in clearer text.
- Subpixels now have a boxy filter applied similar to freetype's default lcd filter.
0.5.0
- breaking
ImtGlyphBitmapdatafield is now private. Bitmap data is now represented byImtBitmapDataenum which can be an image, raw data in the form of a vec, or empty in the case where a bitmap is applicable. - breaking
ImtGlyphBitmapwidth,height,bearing_x,bearing_yhave been moved intoImtBitmapMetricswhich can be obtained from theImtGlypyBitmap::metrics()method. - breaking
ImtGlyphbitmapfield now is an option ofImtBitmapDatainstead of a vec of the raw data. - breaking Bitmap data color componenents are now value normalized. This is the same as
vec4(color.rgb / color.a, color.a). This behavior already existed inBasaltthereforeBasaltusers will not see any change from this other than a minor performance improvement. - breaking
ImtRasternow has two creation methods,new_gpuandnew_cpu. This will select the rasterization backend used.ImtFontmethodsfrom_file&from_byteshave been split intofrom_file_cpu,from_file_gpu,from_bytes_cpu, &from_bytes_gputo match this change. - Added
ImtImageViewwhich is very similar toBstImageViewfromBasalt. This is an abstraction overvulkano'sImageViewthat makes handlingImageViewsmore abstract. - Added
raster_to_imageoption toImtRasterOptswhich defaults to true. This option will enable/disable outputing to an image instead of raw data. - Update dependencies
allsortsto0.6.0&ordered-floatto2.7.0.
0.1.0
- breaking Renamed
ImtRasterOpstoImtRasterOptsto improve naming consistency. - breaking Added
align_whole_pixelstoImtShapeOpts&ImtRasterOpswhich defaults totrue.