All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.52.3 (2024-12-19)
- troika-three-text: Fix error in Safari in BatchedText (2260ba0)
0.52.2 (2024-11-21)
0.52.1 (2024-11-21)
- BatchedText: Fix removing text instances via .remove() (d99549f)
0.52.0 (2024-11-11)
- 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)
- BatchedText: Fix texel read for taller data texture (57f3b0b)
- troika-three-text: Fix error when first character is whitespace #313 (f71679e)
- 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)
- ensure high precision sampling of batched text data texture (f8bd307)
0.50.2 (2024-10-21)
- troika-three-text: BatchedText: increase number of batch members (449957d)
0.50.1 (2024-10-12)
- 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)
- 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)
0.49.0 (2023-10-08)
- support opentype ccmp substitutions (glyph compositions) (1e358b2)
- add support for positioning of diacritic marks (e.g. Thai) (301c34c)
0.48.1 (2023-10-02)
0.48.0 (2023-09-09)
- 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)
0.47.0 (2022-12-15)
- 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)
- 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)
0.46.2 (2022-03-06)
- troika-three-text: fix SDF texture resizing in Three r136+ (0fab679)
0.46.1 (2022-03-05)
- remove console.log (3518689)
0.46.0 (2022-03-05)
- 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)
- troika-three-text: SDFs for all fonts are now stored in the same texture (7e871f7)
- 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)
- 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)
- troika-three-text: fix font parsing failures in iOS Safari (a542b42)
0.43.0 (2021-09-20)
- troika-three-text: allow line wrapping after some common non-whitespace chars like hyphens (1b20e34), closes #136
- troika-three-text: parallelize SDF generation with multiple worker threads (c2bf886)
0.42.0 (2021-05-17)
- add three to peerDependencies in all leaf packages (0a11ab6)
- open up 'three' peer dependency to include future versions (d4a5b23)
0.41.2 (2021-05-05)
- update bidi-js for its ES5 build files (49ce5f2)
0.41.1 (2021-04-26)
- update bidi-js for fix removing type:module from package.json (394c371)
0.41.0 (2021-04-19)
- 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)
- 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)
- prune some unused functions out of the Typr build (26e669f)
0.40.0 (2021-02-28)
- troika-three-text: fix boundingBox, boundingSphere, and raycasting with curveRadius (7cc7c82), closes #103
0.39.2 (2021-02-18)
0.39.1 (2021-02-17)
0.39.0 (2021-02-15)
- 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)
- troika-three-text: prevent copy() from sharing geometry between instances (8c3ba2d)
0.38.0 (2021-01-24)
0.37.0 (2021-01-18)
- troika-three-text: added inner stroke and outline blur capabilities (e004b9d)
- troika-three-text: swap tiny-inflate to fflate for minor speed boost on woff fonts (2ae29fa)
0.36.1 (2020-12-16)
- troika-three-text: soften Typr.ts console warnings to debug level (50d951f)
0.36.0 (2020-12-04)
- troika-three-text: fix wrong caret position for collapsed ligature characters (f220035)
0.35.0 (2020-11-16)
Note: Version bump only for package troika-three-text
0.34.2 (2020-11-09)
- 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)
- 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)
- troika-three-text: expose blockBounds and visibleBounds in textRenderInfo (f3340ec)
- troika-three-text: text outline and better antialiasing at small sizes (3836809)
- 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)
- 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)
- troika-three-text: modifications to the base material are now picked up automatically (fc81d3a)
0.32.0 (2020-09-16)
- mutate boundingBox and set depth to 0 (1f9b6be)
- 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)
- troika-three-text: prevent unbound buffer errors when disposing a GlyphsGeometry (e860eac), closes #69 react-spring/drei#62
0.30.1 (2020-07-19)
0.30.0 (2020-07-16)
- troika-three-text: add support for textIndent (b689c0c)