Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
YM5-3
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
YM5-3
Commits
0f6edf92
Commit
0f6edf92
authored
Jan 22, 2021
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复字体问题
parent
91e1496b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
Title.ts
src/app/play/Title.ts
+1
-1
play.component.css
src/app/play/play.component.css
+6
-0
tt0142m.ttf
src/assets/font/tt0142m.ttf
+0
-0
No files found.
src/app/play/Title.ts
View file @
0f6edf92
...
@@ -61,7 +61,7 @@ export class Title {
...
@@ -61,7 +61,7 @@ export class Title {
const
part2
=
new
Label
();
const
part2
=
new
Label
();
part2
.
text
=
this
.
titleData
.
part2
;
part2
.
text
=
this
.
titleData
.
part2
;
part2
.
fontSize
=
36
;
part2
.
fontSize
=
36
;
part2
.
fontName
=
"
F
uturaStd
"
;
part2
.
fontName
=
"
F
MB
"
;
part2
.
fontColor
=
"
#000000
"
;
part2
.
fontColor
=
"
#000000
"
;
part2
.
setScaleXY
(
mapScaleX
);
part2
.
setScaleXY
(
mapScaleX
);
part2
.
refreshSize
();
part2
.
refreshSize
();
...
...
src/app/play/play.component.css
View file @
0f6edf92
...
@@ -34,3 +34,9 @@
...
@@ -34,3 +34,9 @@
font-family
:
'MMB'
;
font-family
:
'MMB'
;
src
:
url("../../assets/font/MMTextBook-Bold.otf")
;
src
:
url("../../assets/font/MMTextBook-Bold.otf")
;
}
}
@font-face
{
font-family
:
'FMB'
;
src
:
url("../../assets/font/tt0142m.ttf")
;
}
\ No newline at end of file
src/assets/font/tt0142m.ttf
0 → 100644
View file @
0f6edf92
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