allow associate fonts with dictionary

Bug #310047 reported by Kapis
2
Affects Status Importance Assigned to Milestone
Babiloo
Confirmed
Low
Unassigned

Bug Description

Some languages require that special fonts to work everywhere. For example the language of Cambodia (Khmer), see screenshot of the loaded dictionary.

Tags: gui
Revision history for this message
Kapis (capiscuas) wrote :
Revision history for this message
Kapis (capiscuas) wrote :

after I added this to the main.py

        font = QFont("KhmerOS", 8)
        self.wordList.setFont(font)

see the screenshot.

In the future i will get that font name and size from the Settings.

Revision history for this message
Kapis (capiscuas) wrote :

correction,

the self.wordList loads correctly the Khmer fonts even if I don't specify the "KhmerOS" font. It only needs to be installed in your TTF default fonts folder.

Revision history for this message
Kapis (capiscuas) wrote :
Changed in babiloo:
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.