mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
Base+Tests+Ladybird: Remove bitmap fonts
This commit is contained in:
parent
4822d1da4e
commit
cd84d23afa
Notes:
sideshowbarker
2024-07-16 17:05:37 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/LadybirdBrowser/ladybird/commit/cd84d23afa Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/42
16 changed files with 3 additions and 30 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -82,8 +82,8 @@ void FontPlugin::update_generic_fonts()
|
|||
// The lists are basically arbitrary, taken from https://www.w3.org/Style/Examples/007/fonts.en.html
|
||||
Vector<FlyString> cursive_fallbacks { "Comic Sans MS"_fly_string, "Comic Sans"_fly_string, "Apple Chancery"_fly_string, "Bradley Hand"_fly_string, "Brush Script MT"_fly_string, "Snell Roundhand"_fly_string, "URW Chancery L"_fly_string };
|
||||
Vector<FlyString> fantasy_fallbacks { "Impact"_fly_string, "Luminari"_fly_string, "Chalkduster"_fly_string, "Jazz LET"_fly_string, "Blippo"_fly_string, "Stencil Std"_fly_string, "Marker Felt"_fly_string, "Trattatello"_fly_string };
|
||||
Vector<FlyString> monospace_fallbacks { "Andale Mono"_fly_string, "Courier New"_fly_string, "Courier"_fly_string, "FreeMono"_fly_string, "OCR A Std"_fly_string, "DejaVu Sans Mono"_fly_string, "Liberation Mono"_fly_string, "Csilla"_fly_string };
|
||||
Vector<FlyString> sans_serif_fallbacks { "Arial"_fly_string, "Helvetica"_fly_string, "Verdana"_fly_string, "Trebuchet MS"_fly_string, "Gill Sans"_fly_string, "Noto Sans"_fly_string, "Avantgarde"_fly_string, "Optima"_fly_string, "Arial Narrow"_fly_string, "Liberation Sans"_fly_string, "Katica"_fly_string };
|
||||
Vector<FlyString> monospace_fallbacks { "Andale Mono"_fly_string, "Courier New"_fly_string, "Courier"_fly_string, "FreeMono"_fly_string, "OCR A Std"_fly_string, "DejaVu Sans Mono"_fly_string, "Liberation Mono"_fly_string };
|
||||
Vector<FlyString> sans_serif_fallbacks { "Arial"_fly_string, "Helvetica"_fly_string, "Verdana"_fly_string, "Trebuchet MS"_fly_string, "Gill Sans"_fly_string, "Noto Sans"_fly_string, "Avantgarde"_fly_string, "Optima"_fly_string, "Arial Narrow"_fly_string, "Liberation Sans"_fly_string };
|
||||
Vector<FlyString> serif_fallbacks { "Times"_fly_string, "Times New Roman"_fly_string, "Didot"_fly_string, "Georgia"_fly_string, "Palatino"_fly_string, "Bookman"_fly_string, "New Century Schoolbook"_fly_string, "American Typewriter"_fly_string, "Liberation Serif"_fly_string, "Roman"_fly_string };
|
||||
|
||||
update_mapping(Web::Platform::GenericFont::Cursive, cursive_fallbacks);
|
||||
|
|
|
@ -2,16 +2,6 @@ file(STRINGS "${LADYBIRD_SOURCE_DIR}/Meta/emoji-file-list.txt" EMOJI)
|
|||
list(TRANSFORM EMOJI PREPEND "${LADYBIRD_SOURCE_DIR}/Base/res/emoji/")
|
||||
|
||||
set(FONTS
|
||||
CsillaBold10.font
|
||||
CsillaBold12.font
|
||||
CsillaRegular10.font
|
||||
CsillaRegular12.font
|
||||
KaticaBold10.font
|
||||
KaticaBold12.font
|
||||
KaticaBoldOblique10.font
|
||||
KaticaItalic10.font
|
||||
KaticaRegular10.font
|
||||
KaticaRegular12.font
|
||||
SerenitySans-Regular.ttf
|
||||
)
|
||||
list(TRANSFORM FONTS PREPEND "${LADYBIRD_SOURCE_DIR}/Base/res/fonts/")
|
||||
|
|
|
@ -210,19 +210,7 @@ foreach(file, _emoji) {
|
|||
emoji += [ "//Base/res/emoji/" + file ]
|
||||
}
|
||||
|
||||
fonts = [
|
||||
"//Base/res/fonts/CsillaBold10.font",
|
||||
"//Base/res/fonts/CsillaBold12.font",
|
||||
"//Base/res/fonts/CsillaRegular10.font",
|
||||
"//Base/res/fonts/CsillaRegular12.font",
|
||||
"//Base/res/fonts/KaticaBold10.font",
|
||||
"//Base/res/fonts/KaticaBold12.font",
|
||||
"//Base/res/fonts/KaticaBoldOblique10.font",
|
||||
"//Base/res/fonts/KaticaItalic10.font",
|
||||
"//Base/res/fonts/KaticaRegular10.font",
|
||||
"//Base/res/fonts/KaticaRegular12.font",
|
||||
"//Base/res/fonts/SerenitySans-Regular.ttf",
|
||||
]
|
||||
fonts = [ "//Base/res/fonts/SerenitySans-Regular.ttf" ]
|
||||
|
||||
icons_16x16 = [
|
||||
"//Base/res/icons/16x16/app-browser.png",
|
||||
|
|
|
@ -127,11 +127,6 @@ TEST_CASE(brotli_decompress_happy3rd_html)
|
|||
run_test("happy3rd.html"sv);
|
||||
}
|
||||
|
||||
TEST_CASE(brotli_decompress_katica_regular_10_font)
|
||||
{
|
||||
run_test("KaticaRegular10.font"sv);
|
||||
}
|
||||
|
||||
TEST_CASE(brotli_single_z)
|
||||
{
|
||||
run_test("single-z.txt"sv);
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue