2 Replies Latest reply on Oct 27, 2017 9:58 PM by systems01h61704443

    Japanese Text is not shown Correctly in UI For CC 2017

    systems01h61704443 Level 1

      Dear Friends,

       

        I create a plugin For Illustrator CC 2017.

        I created the UI Using HTML5 and JSP.

        I used japanese Text in the  The Label Controls.

        The Japanese Texts Are not Shown Correctly in the UI.This is the Problem.

        I try the Japanese Text in FreeGridUI.The Same Problem occurs.

        please see the Below Image

        Japanese Pblm .png

      please see the code below

      index.html:

       

      <?xml version="1.0"?>

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html

        xmlns="http://www.w3.org/1999/xhtml">

        <head>

        <script src="../js/jquery-1.9.1.min.js"></script>

          <script src="../js/CSInterface.js"></script>

          <script src="../js/main.js"></script>

        <link rel="stylesheet" type="text/css" href="../css/freegrid.css">

        </head>

        <body>

       

        <form role="form" id="settingsForm">

        <div class="row">

        <div class="col">

          <label><input type="radio" name="translateRadio" id="translateRadio" value="translate"> 翻訳</label>

        </div>

        <div class="col">

        <div class="row">

        <div class="col">

        <label for="offsetX">OffsetX</label>

          <input type="number" id="offsetX" placeholder="0" min="0" disabled="true">

        </div>

        </div>

        <div class="row">

        <div class="col">

        <label for="offsetX">OffsetY</label>

        <input type="number" id="offsetY" placeholder="0" min="0" disabled="true">

        </div>

        </div>

        </div>

        </div>

       

        <div class="row">

        <div class="col">

          <label><input type="radio" name="scaleRadio" id="scaleRadio" value="scale"> Scale %</label>

        </div>

        <div class="col">

        <input type="number" id="scale" placeholder="100" min="0" disabled="true">

        </div>

        </div>

       

        <div class="row">

        <div class="col">

          <label><input type="radio" name="rotateRadio" id="rotateRadio" value="rotate"> 回転する</label>

        </div>

        <div class="col">

        <input type="number" id="rotate" placeholder="0" min="0" max="360" disabled="true">

        </div>

        </div>

       

        <div class="row">

        <div class="col">

          <label><input type="radio" name="moveToRadio" id="moveToRadio" value="moveTo"> MoveTo</label>

        </div>

        <div class="col">

        <select id="move" name="move" disabled>

        <option>RightPlane</option>

          <option>LeftPlane</option>

        <option>FloorPlane</option>

        </select>

        </div>

        </div>

       

        <div class="row">

        <div class="col">

          <button type="submit" class="btn btn-default" onclick="addCombo()">Transform</button>    

        </div>

        </div>

       

        </form>

       

        </body>

      </html>

       

      I try to edit <LocaleList> in manifest.xml.But The Problem is not Solved.

       

      manifest.xml

       

       

      <?xml version="1.0"?>

      <ExtensionManifest

        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ExtensionBundleId="com.mycompany.freegridui" ExtensionBundleVersion="1.0.0" Version="5.0">

        <ExtensionList>

          <Extension Id="com.adobe.illustrator.freegridui.panel" Version="1.0.0"/>

        </ExtensionList>

        <ExecutionEnvironment>

          <HostList>

            <Host Name="ILST" Version="20.0"/>

          </HostList>

          <LocaleList>

            <Locale Code="en_ME" />

        <Locale Code="pt_BR" />

        <Locale Code="en_US" />

        <Locale Code="pl_PL" />

        <Locale Code="ja_JP" />

        <Locale Code="ru_RU" />

        <Locale Code="zh_CN" />

        <Locale Code="uk_UA" />

        <Locale Code="ro_RO" />

        <Locale Code="el_GR" />

        <Locale Code="pt_PT" />

        <Locale Code="en_GB" />

        <Locale Code="en_IE" />

        <Locale Code="cs_CZ" />

        <Locale Code="zh_TW" />

        <Locale Code="he_IL" />

        <Locale Code="nb_NO" />

        <Locale Code="fr_CA" />

        <Locale Code="es_ES" />

        <Locale Code="ko_KR" />

        <Locale Code="fi_FI" />

        <Locale Code="de_DE" />

        <Locale Code="it_IT" />

        <Locale Code="en_CE" />

        <Locale Code="hu_HU" />

        <Locale Code="fr_FR" />

        <Locale Code="es_MX" />

        <Locale Code="ar_AE" />

        <Locale Code="tr_TR" />

        <Locale Code="sv_SE" />

        <Locale Code="da_DK" />

        <Locale Code="nl_NL" />

          </LocaleList>

          <RequiredRuntimeList>

            <RequiredRuntime Name="CSXS" Version="5.0"/>

          </RequiredRuntimeList>

        </ExecutionEnvironment>

        <DispatchInfoList>

          <Extension Id="com.adobe.illustrator.freegridui.panel">

            <DispatchInfo>

              <Resources>

                <MainPath>./html/index.html</MainPath>

                <CEFCommandLine/>

              </Resources>

              <Lifecycle>

                <AutoVisible>true</AutoVisible>

              </Lifecycle>

              <UI>

                <Type>Panel</Type>

                <Menu/> <!-- menu is provided by illustrator plug-in -->

                <Geometry>

                  <Size>

        <Height>226</Height>

        <Width>350</Width>

                  </Size>

                  <MinSize>

        <Height>226</Height>

        <Width>350</Width>

                  </MinSize>

                  <MaxSize>

        <Height>226</Height>

        <Width>350</Width>

                  </MaxSize>

                </Geometry>

                <Icons/>

              </UI>

            </DispatchInfo>

          </Extension>

        </DispatchInfoList>

      </ExtensionManifest>

       

       

       

      Please give Your Suggestion to solve this Problem

       

       

      Thank You Friends,

      Vicky