add width class
This commit is contained in:
parent
84f84b4468
commit
f84a0183f3
24
src/ttf/enum/weightClass.js
Normal file
24
src/ttf/enum/weightClass.js
Normal file
@ -0,0 +1,24 @@
|
||||
/**
|
||||
* @file weightClass.js
|
||||
* @author mengke01
|
||||
* @date
|
||||
* @description
|
||||
* 字体粗细度量
|
||||
*/
|
||||
|
||||
|
||||
define(
|
||||
function(require) {
|
||||
return {
|
||||
1: 'Ultra-light',
|
||||
2: 'Extra-light',
|
||||
3: 'Light',
|
||||
4: 'Semi-light',
|
||||
5: 'Medium (normal)',
|
||||
6: 'Semi-bold',
|
||||
7: 'Bold',
|
||||
8: 'Extra-Bold',
|
||||
9: 'Ultra-bold'
|
||||
};
|
||||
}
|
||||
);
|
24
src/ttf/enum/widthClass.js
Normal file
24
src/ttf/enum/widthClass.js
Normal file
@ -0,0 +1,24 @@
|
||||
/**
|
||||
* @file weightClass.js
|
||||
* @author mengke01
|
||||
* @date
|
||||
* @description
|
||||
* 字体宽度度量
|
||||
*/
|
||||
|
||||
|
||||
define(
|
||||
function(require) {
|
||||
return {
|
||||
1: 'Ultra-condensed',
|
||||
2: 'Extra-condensed',
|
||||
3: 'Condensed',
|
||||
4: 'Semi-condensed',
|
||||
5: 'Medium (normal)',
|
||||
6: 'Semi-expanded',
|
||||
7: 'Expanded',
|
||||
8: 'Extra-expanded',
|
||||
9: 'Ultra-expanded'
|
||||
};
|
||||
}
|
||||
);
|
Loading…
x
Reference in New Issue
Block a user