Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Alchemy Viewer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Alchemy Viewer
Commits
cf2afdc5
Commit
cf2afdc5
authored
2 years ago
by
Kitty Barnett
Browse files
Options
Downloads
Patches
Plain Diff
Add emoji as its own font to promote character reuse
parent
bab70f6f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
indra/llrender/llfontgl.cpp
+7
-0
7 additions, 0 deletions
indra/llrender/llfontgl.cpp
indra/llrender/llfontgl.h
+1
-0
1 addition, 0 deletions
indra/llrender/llfontgl.h
indra/newview/skins/default/xui/en/fonts.xml
+5
-0
5 additions, 0 deletions
indra/newview/skins/default/xui/en/fonts.xml
with
13 additions
and
0 deletions
indra/llrender/llfontgl.cpp
+
7
−
0
View file @
cf2afdc5
...
@@ -1005,6 +1005,13 @@ LLFontGL::VAlign LLFontGL::vAlignFromName(const std::string& name)
...
@@ -1005,6 +1005,13 @@ LLFontGL::VAlign LLFontGL::vAlignFromName(const std::string& name)
return
gl_vfont_align
;
return
gl_vfont_align
;
}
}
//static
LLFontGL
*
LLFontGL
::
getFontEmoji
()
{
static
LLFontGL
*
fontp
=
getFont
(
LLFontDescriptor
(
"Emoji"
,
"Large"
,
0
));
return
fontp
;;
}
//static
//static
LLFontGL
*
LLFontGL
::
getFontMonospace
()
LLFontGL
*
LLFontGL
::
getFontMonospace
()
{
{
...
...
This diff is collapsed.
Click to expand it.
indra/llrender/llfontgl.h
+
1
−
0
View file @
cf2afdc5
...
@@ -191,6 +191,7 @@ class LLFontGL
...
@@ -191,6 +191,7 @@ class LLFontGL
static
void
setFontDisplay
(
BOOL
flag
)
{
sDisplayFont
=
flag
;
}
static
void
setFontDisplay
(
BOOL
flag
)
{
sDisplayFont
=
flag
;
}
static
LLFontGL
*
getFontEmoji
();
static
LLFontGL
*
getFontMonospace
();
static
LLFontGL
*
getFontMonospace
();
static
LLFontGL
*
getFontSansSerifSmall
();
static
LLFontGL
*
getFontSansSerifSmall
();
static
LLFontGL
*
getFontSansSerif
();
static
LLFontGL
*
getFontSansSerif
();
...
...
This diff is collapsed.
Click to expand it.
indra/newview/skins/default/xui/en/fonts.xml
+
5
−
0
View file @
cf2afdc5
...
@@ -70,6 +70,11 @@
...
@@ -70,6 +70,11 @@
<file>
DejaVuSans-BoldOblique.ttf
</file>
<file>
DejaVuSans-BoldOblique.ttf
</file>
</font>
</font>
<font
name=
"Emoji"
comment=
"Name of emoji font"
>
<file>
Twemoji.ttf
</file>
</font>
<font
name=
"Monospace"
<font
name=
"Monospace"
comment=
"Name of monospace font"
>
comment=
"Name of monospace font"
>
<file>
DejaVuSansMono.ttf
</file>
<file>
DejaVuSansMono.ttf
</file>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment