Commit 57043176 authored by 李维's avatar 李维

Update font style

parent 220e54ef
...@@ -100,3 +100,9 @@ ...@@ -100,3 +100,9 @@
font-family: 'FuturaBT-Medium'; font-family: 'FuturaBT-Medium';
src: url("../../assets/play/font/Futura.ttc") ; src: url("../../assets/play/font/Futura.ttc") ;
} }
@font-face{
font-family: 'TCB___';
src: url("../../assets/play/font/TCB___.TTF") ;
}
...@@ -802,10 +802,10 @@ export class PlayComponent implements OnInit, OnDestroy { ...@@ -802,10 +802,10 @@ export class PlayComponent implements OnInit, OnDestroy {
} }
}) })
let number_text = this.g_cartoon.createCartoonElementLabelFunc(`question-index-${side}-${index}`, index + "", "FuturaBT-Medium", "#FFF", 36, (w, h)=>{ let number_text = this.g_cartoon.createCartoonElementLabelFunc(`question-index-${side}-${index}`, index + "", "TCB___", "#FFF", 36, (w, h)=>{
return { return {
x: 0, x: 0,
y: 5 y: 2
} }
}) })
number.ref.addChild(number_text.ref) number.ref.addChild(number_text.ref)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment