- BREAKING Update dependency
vulkano
&vulkano-shaders
to0.33
. - Update dependency
allsorts
to0.14
.
- BREAKING Update dependency
vulkano
&vulkano-shaders
to0.32
. - 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
.
- 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.
- BREAKING Update dependency
vulkano
&vulkano-shaders
to0.30
. - Update dependency
ordered-float
to3.0
. - Update dependency
allsorts
to0.10
.- Covers CVE-2022-24713
- Reduced features reducing dependencies.
- BREAKING Update dependency
vulkano
&vulkano-shaders
to0.29
. - Fixed issue where an empty buffer was created during raster(gpu) when a glyph didn't contain any countours but had a size.
- GPU raster will now set
ImtBitmapData::Empty
when there are no countours. This was already set previously when size was zero. - CPU raster will now set
ImtBitmapData::Empty
when size is zero or there are no counters.
- GPU raster will now set
- BREAKING Update dependency
vulkano
&vulkano-shaders
to0.28
.
- BREAKING Update dependency
vulkano
&vulkano-shaders
to0.27.1
.
- BREAKING Update dependency
vulkano
&vulkano-shaders
to0.26.0
. - BREAKING
ImtRasterOpts
now hasraster_image_format
field to use a custom format for images.- This requires
shader_storage_image_write_without_format
feature.- Most desktop/laptop gpu's support this feature.
- Added method to root of crate,
ilmenite_required_vk_features()
.
- This requires
- BREAKING Previous change "Bitmap data color componenents are now value normalized." was incorrect. This made values useless for the most part. Now color values will not be normalized to anything, but will rather represent their actual values. The alpha value will now be the max color component similar to how "other" font rasterizers output.
- Specify vulkan & spirv version in shader. Resolves issue with current release of vulkano not detecting storage buffers correctly when spirv 1.0 is used. This also resolves issue with gpu acceleration not working on nvidia cards.
- 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
.
ImtRasterOpts
now hascpu_rasterization
option to specify if cpu should be used instead of gpu for rasterization. Nvidia seems to be broken currently for gpu rasterization, so as a result this currently defaults totrue
.ImtGlyphBitmap
now has the methodraster_cpu
to rasterize on the cpu instead of gpu.
- BREAKING Update dependency
vulkano
&vulkano-shaders
to0.24.0
.
- BREAKING Update dependency
vulkano
&vulkano-shaders
to0.23.0
- Update dependency
ordered-float
from2.0
to2.5
.
- BREAKING Update dependency
vulkano
&vulkano-shaders
to0.20.0
. - Update dependency
allsorts
to0.5.1
. - Update dependency
ordered-float
to2.0.1
. - Update dependency
parking_lot
to0.11.1
. - Update dependency
crossbeam
to0.8.0
- BREAKING Renamed
ImtRasterOps
toImtRasterOpts
to improve naming consistency. - BREAKING Added
align_whole_pixels
toImtShapeOpts
&ImtRasterOps
which defaults totrue
.