Skip to content

Commit

Permalink
2.0.0 - 2019/03/07
Browse files Browse the repository at this point in the history
@2019.1
  • Loading branch information
ErikMoczi committed Mar 8, 2019
1 parent 6e23160 commit f5ec560
Show file tree
Hide file tree
Showing 22 changed files with 619 additions and 510 deletions.
15 changes: 13 additions & 2 deletions package/CHANGELOG.md
@@ -1,11 +1,19 @@
# 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

## [2.0.0-preview.2] - 2019-02-06
## [2.0.0] - 2019-03-01
### Changes
- Added dependency on the UGUI package version 1.0.0.

## [1.4.0-preview.2] - 2019-02-06
## [1.4.0-preview.3a] - 2019-02-28
### Changes
- Improved performance of the Project Files GUID Remapping Tool.
- Fixed an issue with the TMP_FontAsset.TryAddCharacters() functions which was resulting in an error when added characters exceeded the capacity of the atlas texture.
- Updated TMP_FontAsset.TryAddCharacters functions to add new overloads returning list of characters that could not be added.
- Added function in OnEnable of FontAsset Editor's to clean up Fallback list to remove any null / empty entries.
- Added support for Stereo rendering to the TMP Distance Field and Mobile Distance Field shaders.

## [1.4.0-preview.2a] - 2019-02-14
### Changes
- Fixed an issue with SDF Scale handling where the text object would not render correctly after the object scale had been set to zero.
- Fixed an issue with the TMP_UpdateManager where text objects were not getting unregistered correctly.
Expand All @@ -14,6 +22,9 @@ These are the release notes for the TextMesh Pro UPM package which was first int
- Added new property in the Dynamic Font System section to determine if OpenType Font Features will be retrieved from source font files at runtime as new characters are added to font assets. Glyph Adjustment Data (Kerning) is the only feature currently supported.
- Fix an issue where font assets created at runtime were not getting their asset version number set to "1.1.0".
- Improved parsing of the text file used in the Font Asset Creator and "Characters from File" option to handle UTF16 "\u" and UTF32 "\U" escape character sequences.
- Fixed a Null Reference Error (NRE) that could occur when using the &ltfont&gt tag with an invalid font name followed by the &ltsprite&gt tag.
- The Glyph Adjustment Table presentation and internal data structure has been changed to facilitate the future addition of OpenType font features. See https://forum.unity.com/threads/version-1-4-0-preview-with-dynamic-sdf-for-unity-2018-3-now-available.622420/#post-4206595 for more details.
- Fixed an issue with the &ltrotate&gt tag incorrectly affecting character spacing.

## [1.4.0-preview.1] - 2019-01-30
### Changes
Expand Down
Binary file modified package/Package Resources/TMP Essential Resources.unitypackage
Binary file not shown.
22 changes: 11 additions & 11 deletions package/Scripts/Editor/TMP_EditorCoroutine.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

178 changes: 117 additions & 61 deletions package/Scripts/Editor/TMP_FontAssetEditor.cs

Large diffs are not rendered by default.

7 changes: 1 addition & 6 deletions package/Scripts/Editor/TMP_GlyphPropertyDrawer.cs
Expand Up @@ -11,12 +11,6 @@ namespace TMPro.EditorUtilities
[CustomPropertyDrawer(typeof(Glyph))]
public class TMP_GlyphPropertyDrawer : PropertyDrawer
{
//[SerializeField]
//static Material s_InternalSDFMaterial;

//[SerializeField]
//static Material s_InternalBitmapMaterial;

public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
SerializedProperty prop_GlyphIndex = property.FindPropertyRelative("m_Index");
Expand Down Expand Up @@ -79,6 +73,7 @@ void DrawGlyph(Rect position, SerializedProperty property)
return;

mat.mainTexture = atlasTexture;
mat.SetColor("_Color", Color.white);
}
else
{
Expand Down

0 comments on commit f5ec560

Please sign in to comment.