File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
.scripts/generate_feature_graphic Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -36,16 +36,18 @@ for lang in "$script_location/../../fastlane/metadata/android/"*; do
3636 # (Lobster and Lexend have limited language support)
3737 case " $( basename " $lang " ) " in
3838 bg|el-GR|ru-RU|uk) sed -i " s/Lexend/Noto Sans/" featureGraphic.svg ;;
39- fa-IR) sed -i -e ' s/svg direction="ltr"/svg direction="rtl"/' -e " s/Lobster/Noto Sans Arabic/" -e " s/Lexend/Noto Sans Arabic/" featureGraphic.svg ;;
39+ ar|fa-IR) sed -i -e ' s/svg direction="ltr"/svg direction="rtl"/' -e " s/Lobster/Noto Sans Arabic/" -e " s/Lexend/Noto Sans Arabic/" featureGraphic.svg ;;
40+ he-IL) sed -i -e " s/Lobster/Noto Sans Hebrew/" -e " s/Lexend/Noto Sans Hebrew/" featureGraphic.svg ;;
4041 hi-IN) sed -i -e " s/Lobster/Noto Sans Devanagari/" -e " s/Lexend/Noto Sans Devanagari/" featureGraphic.svg ;;
4142 ja-JP) sed -i " s/Lexend/Noto Sans CJK JP/" featureGraphic.svg ;;
42- kn-IN) sed -i -e ' s/font-size="150"/font-size="125"/' -e " s/Lobster/Noto Sans Kannada/" featureGraphic.svg ;;
43+ kn-IN) sed -i -e ' s/font-size="150"/font-size="125"/' -e ' s/\(<tspan x="469" \)y="270"/\1y="240"/ ' -e " s/Lobster/Noto Sans Kannada/ " -e " s/Lexend /Noto Sans Kannada/" featureGraphic.svg ;;
4344 ko) sed -i " s/Lexend/Noto Sans CJK KR/" featureGraphic.svg ;;
4445 zh-CN) sed -i " s/Lexend/Noto Sans CJK SC/" featureGraphic.svg ;;
4546 zh-TW) sed -i -e " s/Lobster/Noto Sans CJK TC/" -e " s/Lexend/Noto Sans CJK TC/" featureGraphic.svg ;;
4647 * ) ;;
4748 esac
4849 fi
50+
4951 # Ensure images directory exists
5052 mkdir -p images
5153 # Generate .png (we use Inkscape because ImageMagick ignores RTL)
You can’t perform that action at this time.
0 commit comments