Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Fonts for languages other than English are not set.
Forum Updated to NodeBB v4.3 + New Features

Fonts for languages other than English are not set.

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 81 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    IknowQT
    wrote on last edited by
    #1
        QTextCodec::setCodecForLocale(QTextCodec::codecForName("eucKR"));
    
    int id = QFontDatabase::addApplicationFont(":/MainWidget/Ubuntu-R.ttf");
        QString family = QFontDatabase::applicationFontFamilies(id).at(0);
        QFont SerifFont(family);
        SerifFont.setStyleStrategy(QFont::PreferAntialias);
        a.setFont(SerifFont);
    

    I downloaded the ubuntu font and applied it. English works well, but Korean doesn't. The font supports Korean. Is it a problem with other settings? The same goes for other fonts in Windows.

    Is there a way to apply the same font to all languages?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved