Finally, after setting some parameters for M-text rendering, the m17n text is drawn to the display in line 392.
最后,在为m - text呈现设置一些参数之后,在392行就会开始显示m17n文本。
Let's make the goal more complex and add some conditional text rendering - for example, CSS class names for even and odd table rows.
现在让我们实现更复杂的目标并添加一些有条件的文本呈现—例如,命名偶数和奇数表行的css类。
However, we wanted to match the host OS's look and feel. This means using native text rendering routines so that, for example, we can get ClearType on Windows.
然而我们希望(Chrome在其他系统上的外观)能够符合宿主操作系统的外观,这意味着需要使用本地的文本渲染调用以便我们能使用诸如windows的ClearType等技术。
应用推荐