Skip to content

Releases: needle-mirror/com.unity.textmeshpro

1.5.0-preview.7

26 May 07:27
Compare
Choose a tag to compare
1.5.0-preview.7 Pre-release
Pre-release

[1.5.0-preview.7] - 2020-03-07

[2.1.0-preview.7]

[3.0.0-preview.7]

Changes

  • Reverted recent change to the TMP_SubMeshUI OnDisable() function that could result in a Missing Reference Exception in the GraphicRaycaster.cs script. See the following forum post.
  • Fixed glyph drawing issue in the Font Asset Inspector Glyph Adjustment Table when Multi Atlas Texture is enabled and the glyph is not located in the main atlas texture or at atlasTextures[0].
  • Added support for &ltZWSP&gt tag which is internally replaced by a zero width space or \u200B.
  • Improved line breaking handling when using &ltNBSP&gt and / or &ltNOBR&gt tags where instead of breaking these line segments per character, they will break at any possible soft breaking space when these segments exceed the width of the text container.
  • Improved PreferredHeight calculations and handling when using Text Auto Size.
  • Fixed incorrect color being applied to the underline or strikethrough line segments when using and / or tags along with a tag while at the same time applying an Underline or Strikethrough font style on the whole text object.
  • Fixed SDF Scale not getting updated when using SetText() with StringBuilder when the lossyScale of the text object changes. Case #1216007
  • Added Non Breaking Space \u00A0 and Soft Hyphen \u00AD to list of synthesized characters in the event they are not present in the source font file.
  • Fixed stack overflow issue when using TMP_FontAsset.HasCharacter and TMP_FontAsset.HasCharacters function on font assets that have circular fallback references. Case #1222574
  • Fixed atlas texture not getting set correctly to IsReadable when switching a static font asset to dynamic in the Generation Settings of the Font Asset Inspector.
  • Added check for RectTransform.sizeDelta change when OnRectTransformDimensionsChange() is called by the Canvas system to get around potential rounding error that erroneously trigger this callback when the RectTransform is using Stretch Anchor mode.
  • As requested by a few users, TMP_FontAsset.faceInfo setter is now public instead of internal.

1.5.0-preview.6

26 May 07:27
Compare
Choose a tag to compare
1.5.0-preview.6 Pre-release
Pre-release

[1.5.0-preview.6] - 2020-03-06

[2.1.0-preview.6]

[3.0.0-preview.6]

Changes

  • Reverted recent change to the TMP_SubMeshUI OnDisable() function that could result in a Missing Reference Exception in the GraphicRaycaster.cs script. See the following forum post.
  • Fixed glyph drawing issue in the Font Asset Inspector Glyph Adjustment Table when Multi Atlas Texture is enabled and the glyph is not located in the main atlas texture or at atlasTextures[0].
  • Added support for &ltZWSP&gt tag which is internally replaced by a zero width space or \u200B.
  • Improved line breaking handling when using &ltNBSP&gt and / or &ltNOBR&gt tags where instead of breaking these line segments per character, they will break at any possible soft breaking space when these segments exceed the width of the text container.
  • Improved PreferredHeight calculations and handling when using Text Auto Size.
  • Fixed incorrect color being applied to the underline or strikethrough line segments when using and / or tags along with a tag while at the same time applying an Underline or Strikethrough font style on the whole text object.
  • Fixed SDF Scale not getting updated when using SetText() with StringBuilder when the lossyScale of the text object changes. Case #1216007
  • Added Non Breaking Space \u00A0 and Soft Hyphen \u00AD to list of synthesized characters in the event they are not present in the source font file.
  • Fixed stack overflow issue when using TMP_FontAsset.HasCharacter and TMP_FontAsset.HasCharacters function on font assets that have circular fallback references. Case #1222574
  • Fixed atlas texture not getting set correctly to IsReadable when switching a static font asset to dynamic in the Generation Settings of the Font Asset Inspector.
  • Added check for RectTransform.sizeDelta change when OnRectTransformDimensionsChange() is called by the Canvas system to get around potential rounding error that erroneously trigger this callback when the RectTransform is using Stretch Anchor mode.
  • As requested by a few users, TMP_FontAsset.faceInfo setter is now public instead of internal.

3.0.0-preview.5

26 May 07:27
Compare
Choose a tag to compare
3.0.0-preview.5 Pre-release
Pre-release

[3.0.0-preview.5] - 2020-02-25

2.1.0-preview.5

26 May 07:27
Compare
Choose a tag to compare
2.1.0-preview.5 Pre-release
Pre-release

[2.1.0-preview.5] - 2020-02-25

1.5.0-preview.5

26 May 07:26
Compare
Choose a tag to compare
1.5.0-preview.5 Pre-release
Pre-release

[1.5.0-preview.5] - 2020-02-25

[2.1.0-preview.5]

[3.0.0-preview.5]

Changes

  • Revised SetText function formatting options to including ability to specify padding for integral part of the value. Revised format is as follows: {Arg Index:Integral Padding.Decimal Precision} Example: TMP_Text.SetText("Value = {0:000.00}", 10.375f); result in "Value = 010.38".
  • Fixed issue where text objects isTextObjectScaleStatic property would be ignored when OnCanvasHierarchyChanged() is called.
  • Added a Character, Glyph and Record count to those respective tables in the Font Asset Inspector.
  • Fixed potential Null Reference Exception that would occur when using text Overflow Ellipsis mode with a primary font asset that doesn't contain the Ellipsis character. Case #1209771
  • Fixed a potential Editor lockup when using text Overflow Page mode. Case #1219055
  • Fixed Input Field incorrect caret vertical alignment when using the Midline / Vertical Geometry alignment option.
  • Changes to Font Asset Generation Settings via the Font Asset Inspector will now update the existing glyphs and characters for the new settings instead of clearing them.
  • Text object InternalUpdate() used to handle potential scale changes of text objects now uses willRenderCanvases event instead of onPreCull. This avoids a potential one frame delay in updating of objects and no impact on objects. Case #1216007

3.0.0-preview.4

26 May 07:26
Compare
Choose a tag to compare
3.0.0-preview.4 Pre-release
Pre-release

[3.0.0-preview.4] - 2020-01-31

2.1.0-preview.4

26 May 07:26
Compare
Choose a tag to compare
2.1.0-preview.4 Pre-release
Pre-release

[2.1.0-preview.4] - 2020-01-31

1.5.0-preview.4

26 May 07:26
Compare
Choose a tag to compare
1.5.0-preview.4 Pre-release
Pre-release

[1.5.0-preview.4] - 2020-01-31

[2.1.0-preview.4]

[3.0.0-preview.4]

Changes

  • Fixed Input Field issue where scrolling events could prevent OnEndEdit event from firing. See forum post for details.
  • Improved Input Field handling of Vertical Scrollbar in conjunction with the ResetOnDeActivation property. Using the Vertical Scrollbar no longer triggers OnEndEdit event.
  • Fixed MissingReferenceException when deleting a TMP prefab that is part of a nested prefab. Case #1207793
  • Improved handling of allocations of newly created text objects with large amount of text. As a result of these revisions, allocations will potentially be reduce by 10X. See #1205923
  • Fixed potential Null Reference Exception with the TMP DropDown that could occur when using the experimental Editor "Enter Play Mode" feature. Case #1207915
  • Fixed potential issue with the assignment of sub text object materials.
  • Add support for hiding the soft keyboard for Switch in the TMP Input Field.
  • Fixed incorrect Preferred Height when Word Wrapping is disabled on text objects. See forum post for details.
  • Fixed additional instances of TMP Resource Importer window being created when deleting the "TextMesh Pro" folder just after having imported them. Case #1205848
  • Added public ITextPreprocessor textPreprocessor; property to allow setting the text preprocessor for a given text component.

3.0.0-preview.3

26 May 07:26
Compare
Choose a tag to compare
3.0.0-preview.3 Pre-release
Pre-release

[3.0.0-preview.3] - 2019-12-16

2.1.0-preview.3

26 May 07:25
Compare
Choose a tag to compare
2.1.0-preview.3 Pre-release
Pre-release

[2.1.0-preview.3] - 2019-12-16