Skip to content

Releases: ycw/Babylon.Font

v4.0.0

06 Oct 13:01
@ycw ycw
Compare
Choose a tag to compare
  • (update) handle unrecoverable err(#22) gracefully, thanks @meshantz
  • (fix) .d.ts; now enables strict checking compileOptions.strict: true
  • (break) TextMeshBuilder{}.create() now returns undefined if wasm fails to process

v3.0.0

22 Sep 14:04
@ycw ycw
Compare
Choose a tag to compare
  • use newer assemblyscript
  • fixed package.json
  • added gui to examples
  • rm app/gen

v2.0.1

30 May 04:10
@ycw ycw
Compare
Choose a tag to compare

Update:

  • added dts ( dist/babylon.font.d.ts )

v2.0.0

28 May 21:29
@ycw ycw
Compare
Choose a tag to compare

Update:

  • only es module ( dist/babylon.font.js ) available.
  • no script.
  • requires to import opentype, earcut and babylon as module; and inject ...
    • Font.install(fontUrl, compiler, opentype) // <-- here
    • new TextMeshBuilder(BABYLON, earcut) // <-- here

API

  • Font.Install() requires opentype injection.
  • deleted Font.Measure, use font.measure instead.
  • deleted Font.BuildMesh, use TextMeshBuilder instead.
  • new TextMeshBuilder() requires babylonjs ( Mesh, MeshBuilder and Vector3 ) and earcut injection

App/gen

  • deleted shadow controls

Examples

  • added "examples/bare/".