File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,17 +137,17 @@ export class Label extends LabelBase {
137
137
fontSize = this . style . fontInternal . fontSize ;
138
138
}
139
139
}
140
- console . log ( 'span' , fontFamily , fontSize ) ;
140
+ // console.log('span', fontFamily, fontSize);
141
141
142
- htmlString = `<span style="font-family: ${ fontFamily } } ; font-size:${ fontSize } ;">${ htmlString } </span>` ;
142
+ htmlString = `<span style="font-family: ${ fontFamily } ; font-size:${ fontSize } ;">${ htmlString } </span>` ;
143
143
const nsString = NSString . stringWithString ( htmlString ) ;
144
- console . log ( 'updateHTMLString1' , htmlString ) ;
144
+ // console.log('updateHTMLString1', htmlString);
145
145
const nsData = nsString . dataUsingEncoding ( NSUTF8StringEncoding ) ;
146
146
const options = {
147
147
[ DTDefaultTextAlignment ] : kCTLeftTextAlignment ,
148
148
// [NSTextSizeMultiplierDocumentOption]: 1,
149
149
// [DTIgnoreLinkStyleOption]: false,
150
- [ DTDefaultFontFamily ] : fontFamily ,
150
+ // [DTDefaultFontFamily]: fontFamily,
151
151
// [NSFontAttributeName]: fontFamily,
152
152
[ NSTextSizeMultiplierDocumentOption ] : 17 / 12.0 ,
153
153
[ DTUseiOS6Attributes ] : true ,
You can’t perform that action at this time.
0 commit comments