当前位置:网站首页>The importance of using fonts correctly in DataWindow
The importance of using fonts correctly in DataWindow
2022-06-26 21:09:00 【lxbin2003】
datawindow The importance of using fonts correctly in
datawindow Interface design , Many people ignore font choices , Field to DW Went on , Let it go , The default is Arial typeface , I will not adjust it . If it is in English , It doesn't matter , But if there is Chinese in the content , That's a big difference , At this time, you should choose the appropriate Chinese font . Here is an analysis of the difference .


The first is to open the experience , That's a simple one DW, The first column uses Arial typeface , There is obvious hysteresis when opening , If it is changed to Song typeface , There is almost no pause , When opened, the thread is generally smooth .
Next , Test generation PDF( Actually show 、 The same goes for printing ). Generated PDF The effect is as follows :

This is to track the creation of fonts , It can be seen from it that ,Microsoft Sans Serif I don't use this font at all , But it was chosen 14000 many times . What is the concept ? actually , The operating system is right c:\windows\fonts\micross.ttf This font file opens 14000 many times , And look for those Chinese fonts , All failed .

that , Let's choose Song typeface :

Because the Chinese font is used to display Chinese , Only fonts were created in total 5 Time , That is to complete the required task .
so , How important it is to use Chinese fonts correctly to display Chinese , There is a huge difference in efficiency .
Cause analysis : Why is there such a big difference ?
The font file actually defines the font for each character to be displayed , It can be understood as every character ( Including Chinese characters ) All have corresponding codes , And according to these codes , There is a corresponding definition similar to the picture . English usually uses upper and lower case letters with symbols , Probably 126 individual ,ASCII Encoding in 0-126 Between , There are tens of thousands of Chinese . So the English font is usually very small , The Chinese font is much larger . When using English Fonts , Those Chinese character codes , There must be no corresponding font in the English font , It must not be able to display Chinese characters . At this time, in order to display the Chinese characters , The bottom layer of a smart operating system will intelligently adapt to the appropriate font , So that the content can be displayed . And this adaptation process , It's a process of searching and trying , Less content , Efficiency has little effect , If there is more content , Then the efficiency will be greatly affected .
Conclusion :
Datawindow In design , Display Chinese fields , Be sure to use fonts that exist on your computer . If you use a font that doesn't exist , Your own application should have a font , The application completes the in-process installation of fonts , So as to improve the display and printing efficiency .
Great freedom
2022 year 2 month 14 Japan QQ Group :781770213
边栏推荐
- 【最详细】最新最全Redis面试大全(42道)
- Treasure and niche cover PBR multi-channel mapping material website sharing
- 网易云信正式加入中国医学装备协会智慧医院分会,为全国智慧医院建设加速...
- Browser event loop
- Comment installer la base de données MySQL 8.0 sous Windows? (tutoriel graphique)
- Detailed explanation of stored procedures in MySQL
- 【最详细】最新最全Redis面试大全(70道)
- 分布式ID生成系统
- Distributed ID generation system
- QT环境下配置Assimp库(MinGW编译器)
猜你喜欢

会计要素包括哪些内容

leetcode刷题:字符串02( 反转字符串II)

leetcode刷题:字符串01(反转字符串)

Android IO, a first-line Internet manufacturer, is a collection of real questions for senior Android interviews

清华大学就光刻机发声,ASML立马加紧向中国出口光刻机

leetcode刷题:哈希表08 (四数之和)

基于Qt实现的“合成大西瓜”小游戏

Disruptor local thread queue_ Use transprocessor processor and workpool to compare consumption - Notes on inter thread communication 005

Detailed explanation of retrospective thinking

The postgraduate entrance examination in these areas is crazy! Which area has the largest number of candidates?
随机推荐
诗尼曼家居冲刺A股:年营收近12亿 红星美凯龙与居然之家是股东
0基础c语言(0)
浏览器事件循环
【protobuf 】protobuf 升级后带来的一些坑
[protobuf] some pits brought by protobuf upgrade
网上开户万一免五到底安不安全?
leetcode刷题:字符串06(实现 strStr())
基于QT开发的线性代数初学者的矩阵计算器设计
leetcode刷题:字符串04(颠倒字符串中的单词)
The postgraduate entrance examination in these areas is crazy! Which area has the largest number of candidates?
定长内存池
Détails de l'annotation des ressources sentinelles
QT based "synthetic watermelon" game
Mongodb implements creating and deleting databases, creating and deleting tables (sets), and adding, deleting, modifying, and querying data
Cause analysis of 12 MySQL slow queries
Stop being a giant baby
Detailed explanation of retrospective thinking
GameFi 活跃用户、交易量、融资额、新项目持续性下滑,Axie、StepN 能摆脱死亡螺旋吗?链游路在何方?
0基础学c语言(3)
Mr. Sun's version of JDBC (21:34:25, June 12, 2022)