Skip to content

Latest commit

 

History

History
638 lines (205 loc) · 22.2 KB

CHANGELOG.md

File metadata and controls

638 lines (205 loc) · 22.2 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.52.3 (2024-12-19)

Bug Fixes

  • troika-three-text: Fix error in Safari in BatchedText (2260ba0)

0.52.2 (2024-11-21)

Bug Fixes

  • BatchedText: Fix removing text instances (8bf4bca)
  • BatchedText: Fix texture memory leak (908fe31)

0.52.1 (2024-11-21)

Bug Fixes

  • BatchedText: Fix removing text instances via .remove() (d99549f)

0.52.0 (2024-11-11)

Features

  • BatchedText: Support remaining visual properties (60c5e93)

0.51.1 (2024-11-11)

Note: Version bump only for package troika-three-text

0.51.0 (2024-11-10)

Bug Fixes

  • BatchedText: Fix texel read for taller data texture (57f3b0b)
  • troika-three-text: Fix error when first character is whitespace #313 (f71679e)

Features

  • BatchedText: support fillOpacity, and color now sets the diffuse uniform (8f83424)
  • troika-three-text: Add config to disable web worker (86023ec), closes #337

0.50.3 (2024-11-01)

Bug Fixes

  • ensure high precision sampling of batched text data texture (f8bd307)

0.50.2 (2024-10-21)

Bug Fixes

  • troika-three-text: BatchedText: increase number of batch members (449957d)

0.50.1 (2024-10-12)

Bug Fixes

  • troika-three-text: fix error when using BatchedText material color (7f8c845)
  • troika-three-text: remove DoubleSide double draw hack in favor of forceSinglePass flag (7818d05)

0.50.0 (2024-10-11)

Features

  • troika-three-text: allow overriding text material derivation (9a48e0c)
  • troika-three-text: ALPHA: BatchedText for batching many Text instances in a single draw call (79c9c50)

0.49.1 (2024-04-09)

Bug Fixes

  • troika-three-text: Fix anchorY bottom-baseline. Closes #309 (3457b03)

0.49.0 (2023-10-08)

Bug Fixes

  • support opentype ccmp substitutions (glyph compositions) (1e358b2)

Features

  • add support for positioning of diacritic marks (e.g. Thai) (301c34c)

0.48.1 (2023-10-02)

Bug Fixes

  • improve font resolution in CJK (8d9ac64)
  • korean/japanese fonts now resolve correctly (207a5e0)

0.48.0 (2023-09-09)

Features

  • troika-three-text: add fallback font loading for full Unicode support (#279) (6fb8061), closes #13 #65

0.47.2 (2023-05-15)

Note: Version bump only for package troika-three-text

0.47.1 (2022-12-15)

Bug Fixes

  • troika-three-text: update Typr.ts to get kerning fix (#228) (a45db5d)

0.47.0 (2022-12-15)

Bug Fixes

  • troika-three-text: include lineGap value from the font in 'normal' line-height calculation (c278118)
  • troika-three-text: remove IIFEs for tree-shaking (#224) (2e688f0)
  • troika-three-text: update Typr to fix doubled kerning in some fonts (#196) (1fab9a2)
  • troika-three-text: use sTypoAscender/Descender from OS/2 font table if available (f5c244c)
  • troika-three-text: work around Safari<15 bug using SDF canvas as a texture (#199) (fca9aae)

Features

  • raise three min version to r125 and fix BufferGeometry references (#225) (f2ef803)
  • troika-three-text: add 'top-cap' and 'top-ex' as keywords for anchorY (#193) (c6a10ae)
  • troika-three-text: include capHeight and xHeight font metrics in textRenderInfo (3459fd5)
  • troika-three-text: remove deprecated totalBounds/totalBlockSize properties from textRenderInfo (2b87308)
  • remove custom Thenable polyfill in favor of native promises (7af402e)
  • troika-three-text: remove long-deprecated anchor array property (752e302)

0.46.3 (2022-03-11)

Bug Fixes

  • troika-three-text: update Typr to fix doubled kerning in some fonts (#196) (080119a)

0.46.2 (2022-03-06)

Bug Fixes

  • troika-three-text: fix SDF texture resizing in Three r136+ (0fab679)

0.46.1 (2022-03-05)

Bug Fixes

0.46.0 (2022-03-05)

Features

  • troika-three-text: add a gpuAccelerateSDF property for opting out of webgl sdf generation (d436ffd)
  • troika-three-text: integrate webgl-sdf-generator for GPU-accelerated SDF generation (b5c9138)

0.45.0 (2022-01-02)

Features

  • troika-three-text: SDFs for all fonts are now stored in the same texture (7e871f7)

Performance Improvements

  • troika-three-text: avoid extra draw call on double sided materials as of Three r130 (6222ef3)
  • troika-three-text: make the glyphColors buffer transferable (c8c92fa)

0.44.0 (2021-11-14)

Bug Fixes

  • troika-three-text: fill in missing caret positions when the final glyph is a ligature - #165 (ad2eda6)

0.43.1-alpha.0 (2021-10-24)

Bug Fixes

  • troika-three-text: fix font parsing failures in iOS Safari (a542b42)

0.43.0 (2021-09-20)

Features

  • troika-three-text: allow line wrapping after some common non-whitespace chars like hyphens (1b20e34), closes #136

Performance Improvements

  • troika-three-text: parallelize SDF generation with multiple worker threads (c2bf886)

0.42.0 (2021-05-17)

Bug Fixes

  • add three to peerDependencies in all leaf packages (0a11ab6)

Features

  • open up 'three' peer dependency to include future versions (d4a5b23)

0.41.2 (2021-05-05)

Bug Fixes

  • update bidi-js for its ES5 build files (49ce5f2)

0.41.1 (2021-04-26)

Bug Fixes

  • update bidi-js for fix removing type:module from package.json (394c371)

0.41.0 (2021-04-19)

Bug Fixes

  • troika-three-text: fix Arabic word position letter forms (480ee97)
  • troika-three-text: formatting characters no longer produce visible glyphs (c0d28e8)
  • troika-three-text: more correct impl for character joining types (2ce519a)
  • troika-three-text: prevent mutation of input to worldPositionToTextCoords method (d487b8a)

Features

  • troika-three-text: add full bidi text support (3fde850)
  • troika-three-text: simple bidi layout support, using explicit LRO/RLO/PDF chars only (d511655)
  • troika-three-text: very basic support for right-to-left text layout (ce887be)

Performance Improvements

  • prune some unused functions out of the Typr build (26e669f)

0.40.0 (2021-02-28)

Bug Fixes

  • troika-three-text: fix boundingBox, boundingSphere, and raycasting with curveRadius (7cc7c82), closes #103

0.39.2 (2021-02-18)

Bug Fixes

  • troika-three-text: fix shader error in WebGL1 (cdbc7dc), closes #108

0.39.1 (2021-02-17)

Bug Fixes

  • troika-three-text: selection rects no longer clip off trailing whitespace (158305c), closes #78

0.39.0 (2021-02-15)

Features

  • troika-three-text: add curveRadius for applying cylindrical curvature (6fdfbbf)
  • troika-three-text: export a function for debugging SDF textures (3fb0c23)
  • troika-three-text: pack SDFs using all 4 color channels, to increase max glyphs in a texture (d236caf)

0.38.1 (2021-02-03)

Bug Fixes

  • troika-three-text: prevent copy() from sharing geometry between instances (8c3ba2d)

0.38.0 (2021-01-24)

Bug Fixes

  • troika-three-text: allow negative percentages for outlineOffsetX/Y (3a274f0), closes #100

0.37.0 (2021-01-18)

Features

  • troika-three-text: added inner stroke and outline blur capabilities (e004b9d)

Performance Improvements

  • troika-three-text: swap tiny-inflate to fflate for minor speed boost on woff fonts (2ae29fa)

0.36.1 (2020-12-16)

Bug Fixes

  • troika-three-text: soften Typr.ts console warnings to debug level (50d951f)

0.36.0 (2020-12-04)

Bug Fixes

  • troika-three-text: fix wrong caret position for collapsed ligature characters (f220035)

Features

  • troika-three-text: fix kerning by updating from Typr.js to Typr.ts (43144cf), closes #70

0.35.0 (2020-11-16)

Note: Version bump only for package troika-three-text

0.34.2 (2020-11-09)

Bug Fixes

  • troika-three-text: dispose the outline material when the base material is disposed (68bd2c8)
  • troika-three-text: fix error when disposing the base material with outlines enabled (73a51f5)

0.34.1 (2020-10-20)

Note: Version bump only for package troika-three-text

0.34.0 (2020-10-19)

Bug Fixes

  • troika-three-text: clipRect is no longer clamped to the text block's bounds (15edbd9)
  • troika-three-text: fix text baseline being positioned too low (596d8ca)

Features

  • troika-three-text: expose blockBounds and visibleBounds in textRenderInfo (f3340ec)
  • troika-three-text: text outline and better antialiasing at small sizes (3836809)

Performance Improvements

  • micro-optimization of sdf texture insertion loop (995c2a6)

0.33.1 (2020-10-02)

Note: Version bump only for package troika-three-text

0.33.0 (2020-10-02)

Bug Fixes

  • add "sideEffects":false to package.json files to assist treeshaking (61109b2)
  • add PURE annotations to make troika-three-text treeshakeable (8e76b5c)
  • remove redundant "browser" and defunct "jsnext:main" fields from package.json files (0abec40)
  • troika-three-text: make color prop only apply to that instance when sharing a base material (da0f995)

Features

  • troika-three-text: modifications to the base material are now picked up automatically (fc81d3a)

0.32.0 (2020-09-16)

Bug Fixes

  • mutate boundingBox and set depth to 0 (1f9b6be)

Features

  • added boundingBox calculation (140e9e8)

0.31.0 (2020-08-11)

Note: Version bump only for package troika-three-text

0.30.2 (2020-07-22)

Bug Fixes

0.30.1 (2020-07-19)

Bug Fixes

  • troika-three-text: fix changing text length in ThreeJS r117+ (a7ef945), closes #69

0.30.0 (2020-07-16)

Features

  • troika-three-text: add support for textIndent (b689c0c)

0.29.0 (2020-07-06)

Features

  • troika-three-text: promote standalone text to a new troika-three-text package (995f2eb), closes #47