Multiple Language Support Not Working in TextMesh Pro - text

I am currently using TextMesh Pro. While Input other languages in input field, its shows white boxes. Its work fine while typing English alphabet and use other languages font in input field.
Here's the screen shot of the following error..enter image description here
Here typing "hello" in English working fine in "Chinese" but if a input Chinese alphabet, it shows white boxes.
I also tries to make font asset as unicode, but its still not working. I am currently using unity 5.6.2

I faced the same problem, this is the process I went by, to solve it for me:
1. I found this very helpful,
2. Digital Native Studios Font Asset Creator was where I made my mind how to do it
3. head to Google Fonts, I chose Cyrillic in language selection section and downloaded the zip file, and extracted all in this folder: "\Assets\TextMesh Pro\Fonts"
4. I got to Window menu from menu bar of unity, then to TextMeshPro there, and from the next cascading menu I clicked "Font Asset Creator"
5. There it was straightforward thanks to its Author, I simply chose my font, then from "Character set" I chose "Unicode Range (Hex)", also, before that I googled "unicode hex range Cyrillic", and I knew that it's "0400-04FF" range and finally clicked "Generate Font Atlas" there
6. After saving I got back to unity, in Canvas I selected my TextMeshPro Text component, from Font Asset I found and selected the SDF file that was generated (easy to find by name), and also from "Material Preset" bellow that I selected the related (same name) material. I typed text in Cyrillic and magically everything worked!
I hope this helps and will be happy to help further in what I can.
Edit
This youtube clip maybe helpful too

Step 01: Download Font
open the link https://fonts.google.com/ . Click right on corner Browse fonts click. and type the font in search box.
Font List
Noto Sans [find On Google fonts]
Roboto [find On Google fonts] 3)
Code2000 [But it's not open source.]
Futura
Arial
Download Family for your favorite font.
Step 02: Install TextMeshPro plugin
from Package manager. After copy the font file NotoSans-Regular.ttf and paste to this directory. [Ex. Asset > TextMesh Pro > Resources > Fonts & Materials > paste NotoSans-Regular.ttf file]
Step 03: Create SDF for font. if any one
Select NotoSans-Regular.ttf file and create font asset SDF from menu bar Assets > Create > TextMeshPro > Font Asset OR
Short Cut-> Shift + Ctrl + F12 OR
Select NotoSans-Regular.ttf file and click mouse right button and create SDF from Create > TextMeshPro > Font Asset
Step 04: Add Other font SDF in to your primary or existing font SDF.
Select primary font SDF and show the inspector go to Fallback Font Assets. Added the NotoSans-Regular SDF in to Fallback list. [Multiple fonts added in to primary font SDF]

Related

Android Studio changed to Ugly Font [duplicate]

Right now I am using the Darcula theme. I want to change the default font to something else. I go into Editor > Colors & Fonts > Font but all the options are greyed out. For Editor Font it shows Show only monospaced fonts as checked with Primary font as Monospaced, but neither of these can be changed. I tried changing the font under Appearance but that just changes the font used around AS and not inside the editor.
All you have to do is click the "Save As" button to create a new profile. You can't change the font because you can't overwrite the default profile
Android Studio The defaultEditor(Editor)TheScheme(Scheme)Is the font cannot be modified,you canSave as,
Save as a new scheme (Scheme),and then change the font size;
Location: File->Settings->Editor->Fonts -> Font & (for Mac : Android Studio -> Preferences)
We can change the font size according to CTRL + mouse wheel which is really easy to use it !!!
To use this feature select File -> Settings -> Editor -> General -> select the checkbox of Change the font size (Zoom) with Ctrl + Mouse Wheel
I hope it's helpful.
After Spending a good quality of time on this issue i finally fixed it...
In Latest Android Studio 3.2 version
Follow it will work for sure...
Step 1: Go to File Select Settings...
Step 2: Select Editor and select Color Scheme from right side window...
Step 3: Create a duplicate scheme by clicking on the setting icon from right side window as shown below image
Step 4: Now select Color Scheme --> Console Font from left side window and follow the image...
point 1...
point 2...
point 3 select the scheme which we create in Step 3
point 4 select the font type you want display text
point 5 select the font size of your wish.
Click on the Apply and Ok...
Step 5: Work 100 percentage...sure...
Find Setting icon from top toolbar and follow the steps accordingly in image attached.
I was able to increase the font, using the follow strategy.
If creating a custom setting doesn't help:
Click on File -> Settings ->Editor and check the field: "Change font-size with CRTL + Mouse Wheel"
Worked for me.
We have to be more careful when doing this. For the first time I have changed the font size of menu by mistake instead of font. First create your own scheme by going to File-->Settings-->Colors & Fonts and then you can make changes to your own scheme. The final procedure is to go to settings(File-->Settings) and then select Editor and Colors & Fontsin the left bar menu. Then select the arrow on the left side of Colors & Fonts and then select Font in the left menu bar. You will get options to change your values. Remember you can only change values to your own sheme.
Android Studio 3.3
Preferences>Editor>Color Scheme Font Select the cog next to the Scheme:and choose Duplicate. On the same screen, choose your desired font and select Apply to preview or OK to store and exit preferences.
For Android Studio 3.4.1 Go to File -> Settings -> Collapse Editor -> Font -> Select the required font -> Click OK.
Done.

Android Studio, how to change left side panel font size in Material Theme

because of my bad searching skills, I have been searching for 2 hours and haven't found it
After I install Material Theme from Plugin, I want to change the font size of this left panel How can I do it?
Not the part of typing code. I want to increase the font size of the file name where the files are listed. The panel on the left.
If I understand correctly you want to increase the font size of the android studio left panel where project files are? If you want to do that you can do it like this:
Go to File > Settings > Appearance & Behavior > Appearance (or you can press Ctrl + Alt + S and go to Appearance & Behaviour > Appearance), and there you will have to check Use custom font: and you can select a custom font and font size.

How to make the emojis display well in windows android studio code editor view?

How to use emoji in the Android source code in Android studio or IntelliJ in Windows OS? I want to use emojis in the logcat print messages by choosing emojis from the context-sensitive popup. I could not find the right plugin.
I need the plugin that is used in the picture below. But don't know how to achieve the same. When I googled I get references to emoji-compat for showing emoji in the android application's soft keyboard dialog. But I want to use emoji in the source code in the comments and logcat only.
Update: I thought it is an android studio feature. But it is available as soft touch keyboard in windows 10. "WIN + ;" is the shortcut for launching the same.
Now, my next question is how to make the emojis display colorful in windows android studio's code editor and logcat like the way it appears in the Mac.
In Mac it appears like this:
In windows it appears like this in the editor after adding the emoji:
On mac position the cursor in any text field you'd like to insert an
emoji, like posting a tweet for example.
Use the keyboard shortcut Command - Control - Space bar to access
emoji.
Double-click the emoji you'd like to use and it'll be inserted where
you left your cursor.
In your screenshots, the emojis appear to be rendered in a monochrome version in your editor. I've experienced a similar problem with the display of emojis in IntelliJ on macOS.
At first, I thought it was due to a character encoding setting. This turned out to be unrelated as my file encoding is set to UTF-8 everywhere.
After living with the problem for quite some time, the solution I've found to have emojis display right for me is to set the fallback font (for symbols not supported by the main font) to "Apple Color Emoji" for both the editor and the console.
The corresponding UI path for this setting is listed below.
Preferences > Editor > Font
When a color scheme font setting overrides the editor font, then the following paths can apply.
Preferences > Editor > Color Scheme > Color Scheme Font
Preferences > Editor > Color Scheme > Console Font
"Show only monospaced fonts" will need to be disabled temporarily to show the emoji font under "Fallback font".
Additionally, I made "Paste without Formatting" be my default paste option so that emojis can be pasted directly, without risk of being transformed into Unicode escape sequences.
The result is that emojis display as expected for me throughout the IDE, making a big difference to my coding pleasure!
The code editor now correctly handles Unicode emoji characters. On Mac OS X emoji characters are rendered as colored images. On Windows and Linux emoji are rendered as monochrome characters.
Source: https://blog.jetbrains.com/idea/2016/12/intellij-idea-2017-1-eap-is-open/

Android Studio where is color picker for Flutter plugin

In Android Studio, we have color picker when developing in Java/Kotlin (natively) like this.
But while developing for Flutter, I can't see any options to pick my own color. Is there some plugin required to do that?
The color picker is not clickable in Android Studio running Flutter( Dart code), see picture below. But i found a work around using the Color class and manually opening color picker. Then pick a color and copy/paste it like this:
Here is how i do it:
1. Double tap shift to run search
2. Type Color or Picker
3. Open Color Picker from the search list
4. Copy/paste the HEX color code into your color class.
Expert tip:
Add color picker to a keyboard shortcut. You can find the settings for Keymap, under File > Settings > Keymap
You must have heard of the materials.io website from google, which provides many materials like designs, icons, tools, resources and components for easy developing. Now Color Tool is also available. You must add the website to your browsers shortcut if you are a developer. Here's the link for chosing color : https://www.material.io/resources/color/#!/?view.left=0&view.right=0&primary.color=E91E63
Another way I found is :
Type 'Colors.' and press control+space to see the available colors.
Select the color using arrow or mouse.
Press control+Q for the quick documentation.
And on the documentation windows, click on the edit button which opens the
'colors.dart' file.
Here all the colors with all shades are available. These shortcuts are for windows.
Once you open the file, you can always come back here to chose the next shade. But will not be the comfortable method like android project.
Hope a easier way to do this will come with the later update.

Setting a shortcut for setting selected text's font in OneNote

I have been taking notes in OneNote as I listen to classes etc. and it helps to represent code differently using Courier New etc. Having to keep doing it using main menu is getting to be very painful.
Is there anyway to set a shortcut for setting selected text's font to say Courier New etc.?
Note : I tried using Onetastic macros but they are extremely slow and makes onenote unresponsive for a ~10 secs or so, and moreover even that doesn't have a keyboard shortcut option.
I would be surprised that OneNote which is heavily note taking tool doesn't have anyway to customize keyboard shortcuts.
You can add a shortcut to the Font box to the OneNote Window frame (click the dropdown to select Customize Quick Access Toolbar, then add the Font command under all commands). This adds a number to the Font shortcut box - on my machine 3 - so the Home Tab doesn't need to open on the ribbon, nor do I need the (capital) FF to select the Font chooser on the home tab.
So my shortcut would now be ALT 3, cou to select Courier New.
Alternately:
ALT+ H, FF, then the cou will change the font to Courier (open the Home tab, Font Selector, then selects Courier New). But selecting capital FF there is a pain.
One optimization you could make would be to copy the Courier New font to be named "ff.ttf" using TTX or FontForge or similar tools. Then the keys would be
ALT+ H , FF, ff
But adding to the QAT is probably the best way to go.

Resources