GithubHelp home page GithubHelp logo

adjustthwannayuk's Introduction

Adjust Thai Wannayuk

This is an editor utility script to help adjusting Thai language wannayuk position of TMP_FontAsset.

How to install

PackageManager > Add package from git URL... > https://github.com/Nolkeg/AdjustTHWannayuk.git

How to use

Quick

Right click at the FontAsset > AdjustWannayuk

Manual

Windows > TextMeshPro > AdjustWannayuk

Test

You can copy paste the below text into TMP component to test whether the Wannayuks behave correctly. Or just import the sample package in Sample folder.

สระก่อนแล้วค่อยวรรณยุกต์

อ่ิ อ้ิ อ๊ิ อ๋ิ

กำ่ กำ้ กำ๊ กำ๋

อี่ อี้ อี๊ อี๋

อึ่ อึ้ อึ๊ อึ๋

อื่ อื้ อื๊ อื๋

วรรณยุกต์ก่อนแล้วค่อยสระ

อ่ิ อ้ิ อ๊ิ อ๋ิ

ก่ำ ก้ำ ก๊ำ ก๋ำ

อ่ี อ้ี อ๊ี อ๋ี

อ่ึ อ้ึ อ๊ึ อ๋ึ

อ่ื อ้ื อ๊ื อ๋ื

adjustthwannayuk's People

Contributors

nolkeg avatar

Stargazers

Wiriz avatar  avatar  avatar  avatar

Watchers

 avatar

adjustthwannayuk's Issues

Unity 2022.3.10f1 : Conversion issue.

  1. Import the plugin from Package Manager to auto-import the plugin: https://github.com/Nolkeg/AdjustTHWannayuk.git

  2. first the unity editor will log some import warnings.

  3. Restart Unity, and it will ask to start on safe mode >> just press ignore.

  4. once unity starts the following 3 errors show in the console :

image

`Library\PackageCache\com.jiraphat.adjustthwannayuk@c337321\Editor\AdjustWannayuk.cs(64,82): error CS1503: Argument 1: cannot convert from 'System.Collections.Generic.List<UnityEngine.TextCore.LowLevel.GlyphPairAdjustmentRecord>' to 'System.Collections.Generic.IEnumerable<TMPro.TMP_GlyphPairAdjustmentRecord>'

Library\PackageCache\com.jiraphat.adjustthwannayuk@c337321\Editor\AdjustWannayuk.cs(150,69): error CS0029: Cannot implicitly convert type 'System.Collections.Generic.List<TMPro.TMP_GlyphPairAdjustmentRecord>' to 'System.Collections.Generic.List<UnityEngine.TextCore.LowLevel.GlyphPairAdjustmentRecord>'

Library\PackageCache\com.jiraphat.adjustthwannayuk@c337321\Editor\AdjustWannayuk.cs(165,65): error CS0029: Cannot implicitly convert type 'System.Collections.Generic.List<TMPro.TMP_GlyphPairAdjustmentRecord>' to 'System.Collections.Generic.List<UnityEngine.TextCore.LowLevel.GlyphPairAdjustmentRecord>'
`

Thank you! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.