diff --git a/bin/omarchy-iso-test b/bin/omarchy-iso-test index 0398003..0f95b2d 100755 --- a/bin/omarchy-iso-test +++ b/bin/omarchy-iso-test @@ -277,9 +277,9 @@ ocr_screen() { screendump "$shot" [[ -s $shot ]] || return 0 magick "$shot" -colorspace gray -negate -resize 150% "$prepped" 2>/dev/null || return 0 - # The logo and the black strip under foot throw tesseract off CJK, so Chinese runs also read between them, without spaces. + # The logo throws tesseract off CJK, so Chinese runs also read below it, without spaces. if [[ $INSTALL_LANGUAGE == "zh" ]]; then - magick "$shot" -gravity north -chop 0x35% -gravity south -chop 0x4% -colorspace gray -negate -resize 150% "$prepped.text.png" 2>/dev/null || return 0 + magick "$shot" -gravity north -chop 0x35% -colorspace gray -negate -resize 150% "$prepped.text.png" 2>/dev/null || return 0 { tesseract "$prepped" - --psm 6 -l "$OCR_LANGS"; tesseract "$prepped.text.png" - --psm 6 -l "$OCR_LANGS"; } 2>/dev/null | sed 'p; s/ //g' || true else tesseract "$prepped" - --psm 6 -l "$OCR_LANGS" 2>/dev/null || true diff --git a/configs/airootfs/usr/share/omarchy-iso/foot.ini b/configs/airootfs/usr/share/omarchy-iso/foot.ini index 1397fbc..6685477 100644 --- a/configs/airootfs/usr/share/omarchy-iso/foot.ini +++ b/configs/airootfs/usr/share/omarchy-iso/foot.ini @@ -1,6 +1,8 @@ # The Chinese installer's console: the VT's Tokyo Night palette, with Noto Sans Mono CJK from the offline mirror. [main] font=Noto Sans Mono CJK SC:size=13 +# Noto's tall default rows leave the summary too few lines for the logo. +line-height=22px [colors-dark] background=1a1b26 @@ -21,3 +23,7 @@ bright4=7aa2f7 bright5=bb9af7 bright6=7dcfff bright7=c0caf5 + +# cage draws no title bar, and a reserved one leaves a black strip. +[csd] +preferred=none