Menu

#769 Asian script display

open
nobody
None
1
2014-11-01
2014-09-21
Anonymous
No

I wanted to ask if it might be possible at some time in the future to have the editor display asian characters in a different font from roman characters. I work with documents that almost always have both roman text and chinese characters; choosing a roman font makes the chinese almost unreadable, and vice versa. Obviously the output looks fine, but it is a headache to edit this way.

Thanks for all the work you guys have put into TeXstudio!

Discussion

  • Jan  Sundermeyer

    Jan Sundermeyer - 2014-09-21

    how do you want to distinguish between the two charactertypes ?
    From the editor point of view both are characters (i.e. numbers) in unicode.

     
  • Luke

    Luke - 2014-09-21

    Sorry, I asked this question before I had an account on SourceForge. I am relatively new to all this, so apologies if this is a question that doesn't have an easy answer.

    I assume that most roman fonts simply do not have characters corresponding to the unicode code for a certain font, which is why no matter what roman font I choose, I get the same ugly Chinese characters (please correct me if I am wrong). Perhaps there might be a way to determine what the fallback font should be, in case the main font (chosen in Editor:Font Family) doesn't have a character?

    Other than that, I suppose I might try looking around for a unicode font that has both nice roman and nice Chinese characters. Something must exist.

    Again, thanks for this program!

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2014-09-21

    there is theoretically a mechanism for controlling font substitution in qt,
    But I am not sure whether that has ever worked. At the moment you can give a whole list of substitutions without having a list to start with. After taking a look into the source code i am not convinced that it really works (have not tried it) since some part in that region of functionality are simply useless or are causing crashes.

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2014-09-21

    by the way, which OS are you using

     
  • Luke

    Luke - 2014-09-21

    Windows 7

     

Anonymous
Anonymous

Add attachments
Cancel