Author SHA1 Message Date
MightyPork ea13d692a6 Revert "Enable scroll wrap-around" because it sucks
This reverts commit 0e7f0732c5.
2025-04-17 00:23:45 +02:00
MightyPork 312bd22b3e Implement play buttons for a folder with music 2025-04-17 00:15:17 +02:00
MightyPork 2bf904135e Implemented sorted file iterator 2025-04-15 00:03:08 +02:00
MightyPork 0e18330233 Adjust bluetooth volume change speed to more usable 2025-04-14 20:18:01 +02:00
leperandMightyPork 1e340b2cea Add ark pixel font's latin feature branch font.
This is from an upstream development branch at [1] and adds quite a lot
of glyps for the 12px font, and a few to the 10px font.

This addition should be temporary until that feature branch is merged
upstream, a new release rolled, and then a new release of the fuxion
pixel font is rolled. For now this leads to no more missing extended
latin A/B characters in the 12px font on my collection.

[1] https://github.com/TakWolf/ark-pixel-font/commit/535181d3c9394990fc0cd5d5259399da3b7ead48
2025-04-14 20:06:40 +02:00
MightyPork 4a50ed775e Make media buttons control use double click so it is less prone to accidental track skips 2025-04-14 20:06:40 +02:00
MightyPork 0e7f0732c5 Enable scroll wrap-around 2025-04-14 20:06:40 +02:00
MightyPork 0c7a8909c7 Changed volume to go in 5pct steps 2025-04-14 20:06:40 +02:00
ailurux 20ccf51d2b Merge pull request 'fix premature pause at end of last track of queue' (#317) from Be.ing/tangara-fw:premature_pause into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/317
2025-04-14 07:22:54 +00:00
ailurux 3804b2e2e8 Merge pull request 'Current theme reloading' (#324) from ayumi/tangara-fw:reload-theme into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/324
2025-04-14 04:17:19 +00:00
ayumiandcooljqln b87e991a1c Allow the WavPack’s output buffer to be optionally allocated in IRAM
The decoder does use `memset` on the buffer, but according to Espressif that should be fine.

See-Also: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/system/mem_alloc.html#bit-accessible-memory
See-Also: https://esp32.com/viewtopic.php?t=1730#p8056
2025-04-14 01:45:13 +00:00
ayumiandcooljqln 4890c7915c Add the missing WavPack decoder licence to the Licence screen
Also unifies the WavPack and Xiph.org 3–clause BSD licences.
2025-04-14 01:45:13 +00:00
ayumi b8f13c804b Add an option to reload the current theme 2025-04-12 14:29:07 +02:00
Be c4c6c9df7b fix premature pause at end of last track of queue
The SetTrack event is sent when *decoding* finishes, not when
*playback* finishes so the decoder can start buffering the next
track in advance of its playback to ensure gapless playback.
Clearing StreamCues causes
Playback::react(const internal::StreamHeartbeat& ev)
to transit the Playback FSM to Standby, which sets the
IAudioOutput to stop reading from the output buffer. Thus,
clearing StreamCues in response to the SetTrack event paused
playback with the end of the track stuck waiting in the output
buffer. When a new queue was loaded and started playing, the
end of the previous track would be played before the new track
was played.

Fixes https://codeberg.org/cool-tech-zone/tangara-fw/issues/313
2025-04-11 10:20:48 -05:00
17 changed files with 315 additions and 34 deletions
+6
View File
@@ -199,6 +199,12 @@ precedence = "aggregate"
SPDX-FileCopyrightText = "1996-2018 Free Software Foundation, Inc."
SPDX-License-Identifier = "LGPL-2.1-or-later"
[[annotations]]
path = "tools/fonts/ark/**"
precedence = "aggregate"
SPDX-FileCopyrightText = "2021 TakWolf"
SPDX-License-Identifier = "OFL-1.1-RFN"
[[annotations]]
path = "tools/fonts/fusion/**"
precedence = "aggregate"
+66
View File
@@ -60,6 +60,72 @@ return screen:new {
}
end
local enqueue_fs_iterator = function(it)
local cnt = 0
while true do
it:next()
local item = it:value()
if item == nil then
break
end
if not item:is_directory() and not playlist_iterator:is_playlist(item) and playback.is_playable(item:filepath()) then
queue.add(item:filepath())
end
-- safety
cnt = cnt + 1
if cnt > 1000 then
break
end
end
end
-- copied from browser.lua
local buttons = header:Object({
flex = {
flex_direction = "row",
flex_wrap = "wrap",
justify_content = "space-between",
align_items = "center",
align_content = "center"
},
w = lvgl.PCT(100),
h = lvgl.SIZE_CONTENT,
pad_column = 4
})
local original_iterator = self.iterator:clone()
local enqueue = widgets.IconBtn(buttons, img.enqueue, "Enqueue")
enqueue:onClicked(function()
-- queue.add(original_iterator)
enqueue_fs_iterator(original_iterator)
playback.playing:set(true)
end)
local shuffle_play = widgets.IconBtn(buttons, img.shuffleplay, "Shuffle")
shuffle_play:onClicked(function()
queue.clear()
queue.random:set(true)
--queue.add(original_iterator)
enqueue_fs_iterator(original_iterator)
playback.playing:set(true)
backstack.push(playing:new())
end)
-- enqueue:add_flag(lvgl.FLAG.HIDDEN)
local play = widgets.IconBtn(buttons, img.play_small, "Play")
play:onClicked(function()
queue.clear()
queue.random:set(false)
--queue.add(original_iterator)
enqueue_fs_iterator(original_iterator)
playback.playing:set(true)
backstack.push(playing:new())
end)
local get_icon_func = function(item)
if item:is_directory() then
return img.file_directory
Binary file not shown.
Binary file not shown.
+22 -15
View File
@@ -62,19 +62,18 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH RE
OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.]])
end
local function xiphbsd(copyright)
local function bsd3(copyright, name)
show_license(copyright .. [[
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the Xiph.org Foundation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of ]] .. name .. [[ nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.]])
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.]])
end
local function apache(copyright)
@@ -179,6 +178,9 @@ return function(self)
button:onClicked(show_fn)
end
library("Ark Pixel font", "OFL", function()
ofl("Copyright (C) 2021 TakWolf")
end)
library("catch2", "BSL", function()
bsl("2022 Two Blue Cubes Ltd.")
end)
@@ -240,26 +242,31 @@ return function(self)
apache("Copyright 2022 Ronald Ross Miller")
end)
library("ogg", "BSD", function()
xiphbsd("Copyright (c) 2002, Xiph.org Foundation")
bsd3("Copyright (c) 2002, Xiph.org Foundation", "Xiph.org Foundation")
end)
library("Opus", "BSD", function()
xiphbsd(
"Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic, Jean-Marc Valin, Timothy B. Terriberry, CSIRO, Gregory Maxwell, Mark Borgerding, Erik de Castro Lopo")
bsd3(
"Copyright 2001-2011 Xiph.Org, Skype Limited, Octasic, Jean-Marc Valin, Timothy B. Terriberry, CSIRO, Gregory Maxwell, Mark Borgerding, Erik de Castro Lopo",
"Xiph.org Foundation")
end)
library("Opusfile", "BSD", function()
xiphbsd("Copyright (c) 1994-2013 Xiph.Org Foundation and contributors")
bsd3("Copyright (c) 1994-2013 Xiph.Org Foundation and contributors", "Xiph.org Foundation")
end)
library("result", "MIT", function()
mit("Copyright (c) 2017-2021 Matthew Rodusek")
end)
library("speexdsp", "BSD", function()
xiphbsd(
"Copyright 2002-2008 Xiph.org Foundation, Copyright 2002-2008 Jean-Marc Valin, Copyright 2005-2007 Analog Devices Inc., Copyright 2005-2008 Commonwealth Scientific and Industrial Research, Organisation (CSIRO), Copyright 1993, 2002, 2006 David Rowe, Copyright 2003 EpicGames, Copyright 1992-1994 Jutta Degener, Carsten Bormann")
bsd3(
"Copyright 2002-2008 Xiph.org Foundation, Copyright 2002-2008 Jean-Marc Valin, Copyright 2005-2007 Analog Devices Inc., Copyright 2005-2008 Commonwealth Scientific and Industrial Research, Organisation (CSIRO), Copyright 1993, 2002, 2006 David Rowe, Copyright 2003 EpicGames, Copyright 1992-1994 Jutta Degener, Carsten Bormann",
"Xiph.org Foundation")
end)
library("tinyfsm", "MIT", function()
mit("Copyright (c) 2012-2022 Axel Burri")
end)
library("tremor", "BSD", function()
xiphbsd("Copyright (c) 2002, Xiph.org Foundation")
bsd3("Copyright (c) 2002, Xiph.org Foundation", "Xiph.org Foundation")
end)
library("WavPack", "BSD", function()
bsd3("Copyright (c) 1998 - 2006 Conifer Software, All rights reserved.", "Conifer Software")
end)
end
+21 -7
View File
@@ -406,24 +406,38 @@ settings.ThemeSettings = SettingsScreen:new {
selected_idx = idx
end
local theme_chooser = self.content:Dropdown {
local theme_container = self.content:Object {
w = lvgl.PCT(100),
h = lvgl.SIZE_CONTENT,
flex = {
flex_direction = "column",
justify_content = "flex-start",
align_items = "space-evenly",
align_content = "flex-start",
},
pad_row = 4,
}
theme_container:add_style(styles.list_item)
local theme_chooser = theme_container:Dropdown {
options = options,
symbol = img.chevron,
}
local theme_chooser_desc = widgets.Description(theme_chooser, "Theme")
theme_chooser:set({ selected = selected_idx })
theme_chooser:onevent(lvgl.EVENT.VALUE_CHANGED, function()
local theme_reload = function()
local option = theme_chooser:get('selected_str')
local selectedTheme = themeOptions[option]
if (selectedTheme) then
theme.load_theme(tostring(selectedTheme))
backstack.reset(main_menu:new())
end
end)
end
theme_chooser:set({ selected = selected_idx })
theme_chooser:onevent(lvgl.EVENT.VALUE_CHANGED, theme_reload)
theme_chooser:focus()
local theme_reload_btn = theme_container:Button {}
theme_reload_btn:Label { text = "Reload" }
theme_reload_btn:onClicked(theme_reload)
end
}
+1 -1
View File
@@ -45,7 +45,7 @@ WavPackDecoder::WavPackDecoder() : input_(), buf_() {
buf_ = static_cast<int32_t*>(
heap_caps_malloc(
kBufSize * sizeof(int32_t),
MALLOC_CAP_INTERNAL | MALLOC_CAP_CACHE_ALIGNED
MALLOC_CAP_INTERNAL | MALLOC_CAP_32BIT
));
}
+1 -2
View File
@@ -148,9 +148,7 @@ void AudioState::react(const QueueUpdate& ev) {
void AudioState::react(const SetTrack& ev) {
if (std::holds_alternative<std::monostate>(ev.new_track)) {
ESP_LOGI(kTag, "playback finished, awaiting drain");
sDecoder->open({});
sStreamCues.clear();
return;
}
@@ -212,6 +210,7 @@ void AudioState::react(const TtsPlaybackChanged& ev) {
}
void AudioState::react(const internal::DecodingFinished& ev) {
ESP_LOGD(kTag, "end of file decoded; awaiting playback of buffered audio");
// If we just finished playing whatever's at the front of the queue, then we
// need to advanve and start playing the next one ASAP in order to continue
// gaplessly.
+1 -1
View File
@@ -32,7 +32,7 @@
namespace audio {
static constexpr uint16_t kVolumeRange = 60;
static constexpr uint16_t kVolumeStep = 5; // CUSTOM - added
static constexpr uint16_t kVolumeStep = 2; // CUSTOM - added
using ConnectionState = drivers::Bluetooth::ConnectionState;
-5
View File
@@ -43,11 +43,6 @@ auto StreamCues::addCue(std::shared_ptr<TrackInfo> track, uint32_t sample)
}
}
auto StreamCues::clear() -> void {
upcoming_.clear();
current_ = {};
}
auto StreamCues::current() -> std::pair<std::shared_ptr<TrackInfo>, uint32_t> {
if (!current_) {
return {};
-2
View File
@@ -34,8 +34,6 @@ class StreamCues {
auto addCue(std::shared_ptr<TrackInfo>, uint32_t start_at) -> void;
auto clear() -> void;
private:
uint32_t now_;
+1 -1
View File
@@ -34,7 +34,7 @@ Screen::Screen()
// Disable wrapping by default, since it's confusing and generally makes it
// harder to navigate quickly.
lv_group_set_wrap(group_, true); // CUSTOMIZE: enabled - https://codeberg.org/cool-tech-zone/tangara-fw/issues/222
lv_group_set_wrap(group_, false);
}
Screen::~Screen() {
@@ -0,0 +1,94 @@
Copyright (c) 2021, TakWolf (https://takwolf.com),
with Reserved Font Name 'Ark Pixel'.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,94 @@
Copyright (c) 2021, TakWolf (https://takwolf.com),
with Reserved Font Name 'Ark Pixel'.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
+8
View File
@@ -15,6 +15,10 @@ fusion_12() {
-r 0x180-0x24F \
-r 0x370-0x3FF \
-r 0x400-0x4FF \
--font ark/ark-pixel-12px-proportional/ark-pixel-12px-proportional-latin.ttf \
-r 0x100-0x17F \
-r 0x180-0x24F \
-r 0x370-0x3FF \
--font fusion/fusion-pixel-12px-proportional/fusion-pixel-12px-proportional-ja.ttf \
-r 0x3000-0x303f,0x3040-0x309F,0x30A0-0x30FF \
-r 0xFF00-0xFFEF,0x4E00-0x9FAF \
@@ -34,6 +38,10 @@ fusion_10() {
-r 0x180-0x24F \
-r 0x370-0x3FF \
-r 0x400-0x4FF \
--font ark/ark-pixel-10px-proportional/ark-pixel-10px-proportional-latin.ttf \
-r 0x100-0x17F \
-r 0x180-0x24F \
-r 0x370-0x3FF \
--font fusion/fusion-pixel-10px-proportional/fusion-pixel-10px-proportional-ja.ttf \
-r 0x3000-0x303f,0x3040-0x309F,0x30A0-0x30FF \
-r 0xFF00-0xFFEF,0x4E00-0x9FAF \