mirror of
https://github.com/lihop/godot-xterm.git
synced 2025-05-03 12:04:24 +02:00
Add only Hack Regular font and default themes to archive
Keeps the archive small and licensing simpler. Keep around the fancy fonts such as Noto Color Emoji and Unifont as they are useful for testing. With the xrdb import plugin making it easy to import themes, there is little point in keeping other pre-defined themes around, so remove these.
This commit is contained in:
parent
568a9835c6
commit
d702021d02
45 changed files with 245 additions and 338 deletions
|
@ -39,7 +39,9 @@ func import(source_file, save_path, options, r_platform_variant, r_gen_files):
|
|||
return err
|
||||
|
||||
var theme: Theme = XrdbTheme.new()
|
||||
theme.default_font = preload("../themes/fonts/regular.tres")
|
||||
theme.set_font("Regular", "Terminal", preload("../themes/fonts/regular.tres"))
|
||||
for font in ["Bold", "Italic", "Bold Italic"]:
|
||||
theme.set_font(font, "Terminal", null)
|
||||
|
||||
var word_regex = RegEx.new()
|
||||
word_regex.compile("\\S+")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue