Skip to content

LinaVG 2.1.1

Compare
Choose a tag to compare
@inanevin inanevin released this 23 Sep 20:41
· 17 commits to master since this release

Changelog 2.1.1

  • Minor fixes regarding texture atlases.

Changelog 2.1.0

Breaking ⚠️

  • Text structure has been carried to local space as well. Now there are callbacks to implement similar to previous Drawer API change.
  • Font loading API has changed. All atlas functions are now crunched to single AtlasNeedsUpdate callback. Atlas management is not cleaner and supports unloading fonts (where the atlas space reserved for the font is given back to the atlas).
  • LinaVGFont struct renamed to Font.
  • SimpleTextBuffer and SDFTextBuffer now has directly LinaVG::Font* handle instead of 32 bit texture handle.
  • Font struct now has Atlas* member variable for the atlas it was assigned to.

Other

  • Silence some FreeType warnings on MSCV.
  • Fix for some rounding errors.
  • Fix for outline thickness normals.

Changelog 2.0.1

  • Patching 2.0.0 over for example application related fixes.

Changelog 2.0.0

Breaking ⚠️

  • API has changed, no more global draw state. All draw/render related functionality is encapsulated into LinaVG::Drawer object. This is extremely useful for multithreading APIs, as now each thread can have it's own objects. Wiki's have been updated.

Other

  • CMake fixes.
  • Corrections to SDF text size calculations.

Texts

  • Font loader now omits empty glyphs to save CPU time.
  • Letter wrap on top of word wrap is now supported.
  • Texts now have custom CPU clipping, e.g. ditching vertices outside of clip area.

Changelog 1.6.9

  • Bump for consistency, project cleanup.