Releases: AustinJ235/ilmenite
Releases · AustinJ235/ilmenite
0.14.0
0.13.0
- BREAKING
ImtParser::retreive_text
has had its spelling correct toImtParser::retrieve_text
. - Added new method
has_font
toIlmenite
to 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-shaders
to0.31
. - BREAKING Update dependency
allsorts
to0.11
. - BREAKING Changes to
ImtImageView
new
has been renamed tofrom_storage
.- Added
from_attachment
. - Added
image_view_ref
to retreive the inner image view. - Fixed bug that caused needless image transitions.
- BREAKING
ImtFontProps
now has four additional fields.min_x
,max_x
,min_y
,max_y
that are from thehead
header.
- 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
ImtGlyphBitmap
data
field is now private. Bitmap data is now represented byImtBitmapData
enum which can be an image, raw data in the form of a vec, or empty in the case where a bitmap is applicable. - breaking
ImtGlyphBitmap
width
,height
,bearing_x
,bearing_y
have been moved intoImtBitmapMetrics
which can be obtained from theImtGlypyBitmap::metrics()
method. - breaking
ImtGlyph
bitmap
field now is an option ofImtBitmapData
instead 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 inBasalt
thereforeBasalt
users will not see any change from this other than a minor performance improvement. - breaking
ImtRaster
now has two creation methods,new_gpu
andnew_cpu
. This will select the rasterization backend used.ImtFont
methodsfrom_file
&from_bytes
have been split intofrom_file_cpu
,from_file_gpu
,from_bytes_cpu
, &from_bytes_gpu
to match this change. - Added
ImtImageView
which is very similar toBstImageView
fromBasalt
. This is an abstraction overvulkano
'sImageView
that makes handlingImageViews
more abstract. - Added
raster_to_image
option toImtRasterOpts
which defaults to true. This option will enable/disable outputing to an image instead of raw data. - Update dependencies
allsorts
to0.6.0
&ordered-float
to2.7.0
.
0.1.0
- breaking Renamed
ImtRasterOps
toImtRasterOpts
to improve naming consistency. - breaking Added
align_whole_pixels
toImtShapeOpts
&ImtRasterOps
which defaults totrue
.