Haroopad Chinese garbled text does not support Chinese problem solving method

Source: Internet
Author: User
After installing Haroopad, I found that the Chinese fonts entered in the editor are not visible, and the preview box on the right shows the normal, so it's really a big head. Finally found a solution online:

Under Files, open preferences, select the editor, find the default theme, and click Edit, as shown in:

You can see the Default.css file, modified to the following, fonts can be modified according to their favorite, restart the software can

/**
Can only use the following style.

-Color, font-family, Font-style
-Text-shadow
-background-*

Example:
font-family: "Microsoft James Black", "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, Sans-serif!important;
text-shadow:0 1px rgba (0, 0, 0,. 8);
Background-image:url (' wood.jpg ');
background-attachment:fixed;
Background-repeat:no-repeat;
Background-size:cover;
*/

Editor {
font-family: "Microsoft James Black", "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, Sans-serif!important;
}
linenumber {
font-family: "Microsoft James Black", "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, Sans-serif!important;
}
Activeline {
font-family: "Microsoft James Black", "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, Sans-serif!important;
}

/*
Can only use the following style.

-Color, font-family, Font-style
-Text-shadow

Example:
Color: #adadad;
Font-style:bold;
text-shadow:0 1px rgba (0, 0, 0,. 8);
*/
Header {}
Code {}
blockquote {}
Li1 {}
Li2 {}
Li3 {}
HR {}
IMG {}
a {}
EM {}
I {}
Strong {}

Reboot now, you can enter Chinese in the edit area, the problem is solved.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.