I have downloaded PMingLiu.ttf from
https://www.wfonts.com/font/pmingliu
and then install through Jaspersoft studio widnow > perference, then I set a textfield font to the new installed font (PMingLiu)
when preview, the characters changes to strange characters, why?
If choose PMingLiu beneath the dash (PMingLiu installed in my operating system), then the character can show properly, but cannot show in exported pdf, or I must use the PMingLiu in my Windows system and use that ttf as font extensions?
Related
I am fairly new to VScode, I wanted to add Ubuntu Mono Font in VScode. I downloaded the file from Google Fonts page. I extracted and Installed all the different Styles that were available. Here is a photo of the downloaded fonts that I had installed.
Then to verify whether the font was installed or not I opened a word file where I could select Ubuntu Mono. On Stackoverflow I came across 2 methods of Changing the Font family, either editing the settings.json file or using the GUI in VScode by writing the Font family name. I am attaching my modified settings.json file here
I tried other options as well like:
"editor.fontfamily":" 'UbuntuMono-Regular', monospace"
"editor.fontfamily":" 'UbuntuMono-Bold', monospace"
"editor.fontfamily":" 'Ubuntu Mono' , monospace"
//here I tried to play around with spaces:
"editor.fontfamily":" ' UbuntuMono ', monospace"
but whatever I do it is showing the same default monospace font. Any Guidance Regarding this will be helpful. My VScode is updated(It shows March 2021 (Version 1.55)) If any more information or Screenshots are required please let me know.
I tried it with the OTF version: UbuntuMono-Regular.otf
Install the font.
The following settings worked.
"editor.fontFamily": "'Ubuntu Mono', monospace"
You have to RESTART VSC
In my case, I am inputing the font name incorrectly,
e.g. I input
'Delugia Mono Regular'
but in fact vscode does not need Regular cause it accepts font family as input, changing it to:
'Delugia Mono'
and it worked.
No need to restart or even save the settings file, the change would appear in 1 second after you've entered a legal fontfamily as input.
Try to disable all installed extensions from vscode and edit the .json file again, choose your font and make sure that it has been installed then save all changes
When VSCode deals with two languages inside of the editor (the main font has the support of Cyrillic alphabet though), the Russian language shown with a different font, how to get the same font for Russian and English as well?
Example:
<title>"Писатели Якутии"</title>
Is it because your main font does not contain the required UTF subset, so a fall back font is used, or what? If it is true, how to add the required UTF subset to VSCode?
System: macOS Mojave, the latest version of Visual Studio Code.
The answer is, thanks to Reddit:
1) Just use a font with the Cyrillic alphabet as my main font;
2) Add preferred Cyrillic font second in the list of fonts in fontFamily, as in:
"editor.fontFamily": "fontOne, fontTwo",
When i try to write Georgian characters in unity (example: გამარჯობა) in text field only appear question marks. I use Unity 5.6 on Windows 8.
I think it is a problem of the windows font which uses Unity. Can I change default font for Unity UI?
enter image description here
Can I change default font for Unity UI?
You can also do this from script:
public Font yourFont;
GetComponent<Text>().font = yourFont;
or from the Resources folder:
GetComponent<Text>().font = (Font)Resources.Load("Yourfont");
Just download a Georgian font, import it into Unity and use one of the methods above to apply it to the Text component.
I have this simple tabular report with many columns with different types .
But when printing the report with rtf (word) extension
the columns with numbers or date appears on the report.
the columns with with Arabic content appear on the report.
But when printing the report with PDF extension
the columns with numbers or date appears on the report.
the columns with with Arabic content DOES NOT appear on the report.
I have tried many different fonts and changed properties like PDF embed and PDF encoding.
What is the right way to do this ?
I faced this problem and its very annoying so to make it clear to all here how you do this
on the field or label that may has Arabic content go to its properties by right click or on the properties pallet of it , and make these changes
Check the box PDF embed
Choose Identity-H (Unicode with horizontal writing) from PDF encoding
Choose the font Arial if not there add it to the jasper fonts folder in the installation directory
and add it to the class path in settings
Rerun in PDF mode ... it will work
I faced similar issue with Arabic text and found above solution helps but it leads to another issues like JVM doesn't have Arial etc. And also we need to configure these properties on each and every field. Following configuration worked for me with the jasper latest versions.
Use DejaVu Sans font(I used DejaVu Sans Mono)
Add jasperreports-fonts dependency(In my case Jasper report version is 6.4.0 & jasper-fonts version is 6.0.0)
If you need right to left layout use mirroring trick mentioned in
iReport - How to change report direction to RTL?
Finally found this !!!
I'm using Jasper 6.17.0
Step 1: Download Arial font from website.
Step 2: Place this ttf file in the server path. eg. /app/jasper/Templates/TemplateFonts/
Step 3: Select text field/static field from the Jasper Design screen, In the Properties > Advanced > PDF provide below
PDF Embedded : true
PDF Encoding : Identity-H (Unicode with horizontal writing)
PDF Font Name : /app/jasper/Templates/TemplateFonts/arial.ttf
Try now :)
I installed a custom font however, my app runs on two languages. I noticed that the custom fonts work with English but not with non-English. How can I overcome this?
You need to choose a custom font that includes "glyphs" for all of the special characters and punctuation that are needed for the language you are using. If the custom font you have is missing these extra glyphs, then you can either edit the font in a font editor such as Fontographer to add the missing glyphs (this requires drawing them in or copying parts from other letters), or finding a new version of the same font that includes the glyphs you need.
You can see the missing glyphs by opening a font that has these glyphs in the "Font Book" program included with mac os x. Then you can open your custom font and compare the two to see what's missing.
Also keep in mind that you usually need a custom license from the font owner to include fonts in your application.