From d0a0d1bf7878e356e0ec3713a012bdb381829b96 Mon Sep 17 00:00:00 2001 From: Unity Technologies <@unity.com> Date: Wed, 8 May 2019 00:00:00 +0200 Subject: [PATCH] com.unity.textmeshpro@1.4.1 ## [1.4.1] - 2019-05-08 ### Changes - Improved handling of automatic Font Asset upgrade to version 1.1.0 which is required to support the new Dynamic SDF system. See Case #1144858 - Made release compatible with .Net 3.5 Scripting Runtime. - Added support for Stereo rendering to the TMP SDF Overlay shaders. - Fixed Caret positioning issue when using IME. Case #1146626 --- CHANGELOG.md | 2 +- Scripts/Runtime/TMP_FontAsset.cs | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad9375e..ddd61f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Changelog These are the release notes for the TextMesh Pro UPM package which was first introduced with Unity 2018.1. Please see the following link for the Release Notes for prior versions of TextMesh Pro. http://digitalnativestudios.com/forum/index.php?topic=1363.0 -## [1.4.1] - 2019-04-20 +## [1.4.1] - 2019-05-08 ### Changes - Improved handling of automatic Font Asset upgrade to version 1.1.0 which is required to support the new Dynamic SDF system. See Case #1144858 - Made release compatible with .Net 3.5 Scripting Runtime. diff --git a/Scripts/Runtime/TMP_FontAsset.cs b/Scripts/Runtime/TMP_FontAsset.cs index 7d33d1d..aef3087 100644 --- a/Scripts/Runtime/TMP_FontAsset.cs +++ b/Scripts/Runtime/TMP_FontAsset.cs @@ -1874,7 +1874,7 @@ private void UpgradeFontAsset() Glyph glyph = new Glyph(); - uint glyphIndex = (uint)i; + uint glyphIndex = (uint)i + 1; //#if UNITY_EDITOR //if (m_SourceFontFile_EditorRef != null) diff --git a/package.json b/package.json index 722a22f..9f25072 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.unity.textmeshpro", "displayName": "TextMesh Pro", - "version": "1.4.1-preview.1", + "version": "1.4.1", "unity": "2018.3", "description": "TextMesh Pro is the ultimate text solution for Unity. It's the perfect replacement for Unity's UI Text and the legacy Text Mesh.\n\nPowerful and easy to use, TextMesh Pro uses Advanced Text Rendering techniques along with a set of custom shaders; delivering substantial visual quality improvements while giving users incredible flexibility when it comes to text styling and texturing.\n\nTextMesh Pro provides Improved Control over text formatting and layout with features like character, word, line and paragraph spacing, kerning, justified text, Links, over 30 Rich Text Tags available, support for Multi Font & Sprites, Custom Styles and more.\n\nGreat performance. Since the geometry created by TextMesh Pro uses two triangles per character just like Unity's text components, this improved visual quality and flexibility comes at no additional performance cost.", "keywords": [ @@ -15,6 +15,6 @@ "repository": { "type": "git", "url": "https://gitlab.cds.internal.unity3d.com/upm-packages/text/com.unity.textmeshpro.git", - "revision": "4cfa9c69" + "revision": "42654af0" } }