Skip to content

Commit

Permalink
Added 'extended' to default Derma fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
robotboy655 committed Apr 2, 2021
1 parent 9504141 commit bc9db06
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions garrysmod/lua/derma/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,35 +8,40 @@ if ( system.IsLinux() ) then
surface.CreateFont( "DermaDefault", {
font = "DejaVu Sans",
size = 14,
weight = 500
weight = 500,
extended = true
} )

surface.CreateFont( "DermaDefaultBold", {
font = "DejaVu Sans",
size = 14,
weight = 800
weight = 800,
extended = true
} )

else

surface.CreateFont( "DermaDefault", {
font = "Tahoma",
size = 13,
weight = 500
weight = 500,
extended = true
} )

surface.CreateFont( "DermaDefaultBold", {
font = "Tahoma",
size = 13,
weight = 800
weight = 800,
extended = true
} )

end

surface.CreateFont( "DermaLarge", {
font = "Roboto",
size = 32,
weight = 500
weight = 500,
extended = true
} )

include( "derma.lua" )
Expand Down

0 comments on commit bc9db06

Please sign in to comment.