Browse Source

Fix the fastlane screenshot generation

The equalizer changed int he meantime and the sizing
add to be adapted. Also add a font for bengali
merge-requests/2329/head
Nicolas Pomepuy 10 months ago
parent
commit
4332167041
  1. 6
      buildsystem/automation/fastlane/Screengrabfile
  2. BIN
      buildsystem/automation/framing/templates/PIxel 2 XL eq mask.xcf
  3. BIN
      buildsystem/automation/framing/templates/PIxel 2 XL eq.xcf
  4. BIN
      buildsystem/automation/framing/templates/Seven inches eq.xcf
  5. BIN
      buildsystem/automation/framing/templates/Ten inches eq.xcf
  6. BIN
      buildsystem/automation/framing/templates/background_pixel_2_XL_eq.png
  7. BIN
      buildsystem/automation/framing/templates/background_pixel_2_XL_eq_mask.png
  8. BIN
      buildsystem/automation/framing/templates/background_seven_inches_eq.png
  9. BIN
      buildsystem/automation/framing/templates/background_seven_inches_eq_mask.png
  10. BIN
      buildsystem/automation/framing/templates/background_ten_inches_eq.png
  11. BIN
      buildsystem/automation/framing/templates/background_ten_inches_eq_mask.png
  12. 14
      buildsystem/automation/generate_images.sh

6
buildsystem/automation/fastlane/Screengrabfile

@ -5,11 +5,11 @@
use_adb_root(true)
test_instrumentation_runner("org.videolan.vlc.MultidexTestRunner")
#locales(['en-US', 'fr-FR', 'eu-ES', 'zh-TW', 'zh-CN', 'de-DE', 'el-GR', 'he-IL', 'hu-HU', 'it-IT', 'sr', 'sk', 'sv-SE', 'tr-TR', 'uk', 'et', 'fi-FI', 'ro', 'ca', 'da-DK', 'ka-GE', 'ar', 'pt-BR', 'pt-PT', 'ja-JP', 'ko-KR', 'sl', 'bn-BD'])
locales(['bn-BD'])
locales(['en-US', 'fr-FR', 'eu-ES', 'zh-TW', 'zh-CN', 'de-DE', 'el-GR', 'he-IL', 'hu-HU', 'it-IT', 'sr', 'sk', 'sv-SE', 'tr-TR', 'uk', 'et', 'fi-FI', 'ro', 'ca', 'da-DK', 'ka-GE', 'ar', 'pt-BR', 'pt-PT', 'ja-JP', 'ko-KR', 'sl', 'bn-BD', 'nl-NL', 'fa'])
#locales(['de-DE', 'ja-JP'])
# clear all previously generated screenshots in your local output directory before creating new ones
clear_previous_screenshots(true)
clear_previous_screenshots(false)
# For more information about all available options run
# fastlane screengrab --help

BIN
buildsystem/automation/framing/templates/PIxel 2 XL eq mask.xcf

Binary file not shown.

BIN
buildsystem/automation/framing/templates/PIxel 2 XL eq.xcf

Binary file not shown.

BIN
buildsystem/automation/framing/templates/Seven inches eq.xcf

Binary file not shown.

BIN
buildsystem/automation/framing/templates/Ten inches eq.xcf

Binary file not shown.

BIN
buildsystem/automation/framing/templates/background_pixel_2_XL_eq.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 25 KiB

BIN
buildsystem/automation/framing/templates/background_pixel_2_XL_eq_mask.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 21 KiB

BIN
buildsystem/automation/framing/templates/background_seven_inches_eq.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 13 KiB

BIN
buildsystem/automation/framing/templates/background_seven_inches_eq_mask.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

BIN
buildsystem/automation/framing/templates/background_ten_inches_eq.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
buildsystem/automation/framing/templates/background_ten_inches_eq_mask.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

14
buildsystem/automation/generate_images.sh

@ -116,10 +116,12 @@ get_font() {
'ko-KR') echo "NotoSansKR";;
'hi-IN') echo "NotoSans";;
'el-GR') echo "NotoSans";;
'bn-BD') echo "NotoSansBengali";;
'ka-GE') echo "NotoSansGeorgian";;
'he-IL') echo "NotoSansHebrew";;
'zh-TW') echo "NotoSansSC";;
'zh-CN') echo "NotoSansSC";;
'fa') echo "NotoAR";;
'ar') echo "NotoAR";;
*) echo 'Raleway';;
esac
@ -196,9 +198,9 @@ generate_screenshot () {
imageOffsetLandscapeY=592
templatePrefix="background_pixel_2_XL"
eqWidth=1440
eqHeight=1815
eqHeight=2049
eqX=0
eqY=975
eqY=747
eqFrameX=550
eqFrameY=1360
pipFrameX=1050
@ -225,9 +227,9 @@ generate_screenshot () {
imageOffsetLandscapeX=720
imageOffsetLandscapeY=520
eqWidth=1024
eqHeight=1038
eqHeight=1174
eqX=238
eqY=1298
eqY=1162
eqFrameX=900
eqFrameY=2050
pipFrameY=2460
@ -242,9 +244,9 @@ generate_screenshot () {
imageOffsetLandscapeX=920
imageOffsetLandscapeY=544
eqWidth=768
eqHeight=782
eqHeight=881
eqX=616
eqY=670
eqY=571
eqFrameX=2600
eqFrameY=1050
pipFrameX=2450

Loading…
Cancel
Save