Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7410559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:15:10+00:00 2026-05-29T06:15:10+00:00

UPDATE: I’ve completely changed the question because in reality, I’m having a really hard

  • 0

UPDATE:
I’ve completely changed the question because in reality, I’m having a really hard time properly using device-fonts for multiple languages displayed in the same app (at the same time).

I must use device-fonts (cannot use the .embedFonts = true property) and I won’t be masking, scaling or rotating or animating the text anyways. I’m not worried about the disappearing issues side-effects. I’m noticing that English characters are showing up correctly, BUT other characters aren’t…

Like the following encoded characters for example:

सकत

Instead, the above characters show up as hollow squares.

Is there something I need to use / be aware of? I’ve looked into these:

  • System.useCodePage;
  • TextField.defaultTextFormat;
  • TextField.setTextFormat(…);
  • TextFormat object;
  • StyleSheet object;
  • Font.enumerateFonts(true);

What I’m trying to do is display single words (or short sentences) from various sources and various languages. In other words…. many TextFields will be scattered near eachother, but each TextField will use one language independant from the other Textfields. One may be in Mandarin, another in Spanish, another in French, in English… etc.

What do I need to do to get the Font “_sans” (or any supported device fonts) to show up correctly in various languages?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T06:15:10+00:00Added an answer on May 29, 2026 at 6:15 am

    I think I may have finally resolved my device-font issue.

    In Flex, it looks like modifying the style letter-spacing other than zero (0) will break the font-support for Asian characters. Perhaps only the Latin characters are meant to be customized with those extra styles.

    But anyhow, for those of you who encounter hollow squares instead of the actual asian character, verify that you are not using style-properties that may be unsupported by the character set.

    My approach to setting the label with the correct style was to override the label setter accessor:

    override public function set label(value:String):void {
        super.label = value;
    
        //If English characters / numerals (space letters by 1-pixel):
        if(/[a-z0-9]/i.test(value)) {
            this.setStyle("letterSpacing", 1);
        } else {
            this.setStyle("letterSpacing", 0);
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Update: With iPhone OS 3.0+, the whole UIImagePickerController API has changed. This question and
Update: Check out this follow-up question: Gem Update on Windows - is it broken?
UPDATE: Focus your answers on hardware solutions please. What hardware/tools/add-in are you using to
Update: Now that it's 2016 I'd use PowerShell for this unless there's a really
Update: Thanks for the suggestions guys. After further research, I’ve reformulated the question here:
Update: Please read this question in the context of design principles, elegance, expression of
Update (on top because the post is so long) Alright. New developments. When I
UPDATE This is an old question for an old version of Xcode. It turned
Update 2018 TL;DR; LaTEX for WPF https://github.com/ForNeVeR/wpf-math Original question I need to have a
Update : Properly initialising string with char string[sizeof buffer - 1] has solved the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.