Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
YM4-13
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
YM4-13
Commits
57043176
Commit
57043176
authored
Oct 09, 2020
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update font style
parent
220e54ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
play.component.scss
src/app/play/play.component.scss
+6
-0
play.component.ts
src/app/play/play.component.ts
+2
-2
TCB___.TTF
src/assets/play/font/TCB___.TTF
+0
-0
No files found.
src/app/play/play.component.scss
View file @
57043176
...
@@ -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")
;
}
src/app/play/play.component.ts
View file @
57043176
...
@@ -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
)
...
...
src/assets/play/font/TCB___.TTF
0 → 100644
View file @
57043176
File added
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