Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
e813a433
Commit
e813a433
authored
Sep 09, 2015
by
Stormspirit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充对于Lux的字体居中兼容性处理
parent
cbf52e4d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
text.js
src/module/text.js
+6
-6
No files found.
src/module/text.js
View file @
e813a433
...
...
@@ -9,7 +9,6 @@ define(function(require, exports, module) {
var
Renderer
=
require
(
'../core/render'
);
/**
* 针对不同系统、不同浏览器、不同字体做居中兼容性处理
* 暂时未增加Linux的处理
*/
var
FONT_ADJUST
=
{
'safari'
:
{
...
...
@@ -79,9 +78,12 @@ define(function(require, exports, module) {
'default'
:
-
0.15
},
'Lux'
:
{
'微软雅黑,Microsoft YaHei'
:
-
0.15
,
'andale mono'
:
-
0.05
,
'comic sans ms'
:
-
0.3
,
'impact,chicago'
:
-
0.13
,
'times new roman'
:
-
0.1
,
'arial black,avant garde'
:
-
0.17
,
'default'
:
-
0.15
'default'
:
0
}
},
'firefox'
:
{
...
...
@@ -105,9 +107,7 @@ define(function(require, exports, module) {
'default'
:
-
0.16
},
'Lux'
:
{
'微软雅黑,Microsoft YaHei'
:
-
0.15
,
'arial black,avant garde'
:
-
0.17
,
'default'
:
-
0.15
'宋体,SimSun'
:
-
0.02
}
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment