Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(travis): add font packages #2394

Merged
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ language: node_js
dist: focal
node_js:
- 18
addons:
apt:
packages:
# Fonts - util.breakText - international characters
- fonts-arphic-ukai
- fonts-arphic-uming
- fonts-ipafont-mincho
- fonts-ipafont-gothic
- fonts-unfonts-core
- fonts-noto-core

before_install:
- npm install -g grunt-cli
Expand Down
20 changes: 0 additions & 20 deletions test/jointjs/core/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,64 +409,44 @@ QUnit.module('util', function(hooks) {
const tests = [
'אבגדהוזחטיכ-למנסעפצ-קרשת',
'აბგდ-ევზთიკ-ლმნოპჟრსტუფქ-ღყშჩცძწ-ჭხჯჰ',
'ԱԲԳ-ԴԵԶԷԸԹԺԻԼ-ԽԾԿՀՁՂՃՄՅՆՇՈՉ-ՊՋՌՍՎՏՐՑ-ՒՓՔՕՖ',
'АБВГ-ДЕЁЖЗИЙКЛМ-НОПР-СТУФХЦ-ЧШЩЪЫ-ЬЭЮЯ',
'กขฃคฅ-ฆงจฉชซฌญฎ-ฏฐฑฒณดตถทธนบปผฝ-พฟภมยรลว-ศษสหฬอฮ',
'अआइई-उऊऋऌऍऎएऐऑऒओऔक-खगघङचछ-जझञटठडढणतथदधन-पफबभमयरलवशषसह',
'ሀሁሂ-ሃሄህሆለሉሊላሌልሎሏ-ሐሑሒሓሔሕሖሗመ-ሙሚማሜምሞሟ-ሠሡሢሣሤሥሦሧ',
'ا ب- ت -ث ج ح خ د ذ ر ز س ش- ص ض ط ظ ع غ ف- ق ك ل م -ن ه و ي',
'ĀāĂă-ĄąĆćĈĉĊċ-ČčĎďĐđĒēĔĕĖėĘę',
'ĚěĜĝ-ĞğĠġĢ-ģĤĥĦħĨĩĪīĬĭĮįİ',
'ıIJijĴ-ĵĶķĸĹĺ-ĻļĽľĿŀŁł',
'ŃńŅņ-ŇňʼnŊŋŌōŎŏŐőŒœŔ',
'ŕŖŗŘ-řŚśŜŝŞ-şŠšŢţŤťŦŧ',
'ŨũŪū-ŬŭŮůŰű-ŲųŴŵŶŷŸŹźŻż',
'Žžſƀ-ƁƂƃƄ-ƅƆƇƈƉƊ-ƋƌƍƎƏ',
'ƐƑƒƓ-ƔƕƖƗƘƙ-ƚƛƜƝƞƟ',
'ƠơƢƣ-ƤƥƦƧƨƩ-ƪƫƬƭƮƯ',
'ưƱƲƳ-ƴƵƶƷƸ-ƹƺƻƼƽƾƿ',
'ǀǁǂǃ-DŽDždžLJLjljNJNjnjǍǎǏ',
'ǐǑǒǓ-ǔǕǖǗǘǙǚǛ-ǜǝǞǟ',
'ǠǡǢǣ-ǤǥǦǧǨǩǪǫ-ǬǭǮǯ',
'ǰDZDzdz-ǴǵǶǷǸǹǺǻǼǽǾǿ',
'ȀȁȂȃ-ȄȅȆȇȈ-ȉȊȋȌȍȎȏ',
'ȐȑȒȓ-ȔȕȖȗȘ-șȚțȜȝȞȟ',
'ΑΒΓΔ-ΕΖΗΘΙΚ-ΛΜΝΞΟΠΡΣΤ-ΥΦΧΨΩ',
'あい-うえおかきくけ-こさしすせそたちつてと-なにぬねのはひふへほまみむめもやゆよらりるれろわをんぁ-ぃぅぇぉっゃゅょゎ',
'アイ-ウエオカキクケコサ-シスセソタチツテトナニヌネノハ-ヒフヘホマミムメモヤユヨラ-リルレロワヰヱヲンヴァィ-ゥェォッャュョー',
'ㄱㄴㄷ-ㄹㅁㅂㅅㅇㅈㅊㅋ-ㅌㅍㅎㅏㅑㅓㅕㅗㅛㅜㅠㅡㅣ',
'円山川-川口町村市区京大学乳水牛車自転車電車飛行機船航空宇宙駅道路-橋横断歩道交差点信号標-識地図国県市町村庁銀行郵便-局病院公園図書館博-物館美術館劇場映画館遊び場商店店舗-商品買物料理食事料理料理人調理食器鍋皿箸包丁'
];

const results = [
'אבגדהוזחטיכ-\nלמנסעפצ-קרשת',
'აბგდ-\nევზთიკ-\nლმნოპჟრსტუფქ-\nღყშჩცძწ-ჭხჯჰ',
'ԱԲԳ-\nԴԵԶԷԸԹԺԻԼ-\nԽԾԿՀՁՂՃՄՅՆՇՈ\nՉ-\nՊՋՌՍՎՏՐՑ-\nՒՓՔՕՖ',
'АБВГ-\nДЕЁЖЗИЙКЛМ-\nНОПР-\nСТУФХЦ-\nЧШЩЪЫ-ЬЭЮЯ',
'กขฃคฅ-\nฆงจฉชซฌญฎ-\nฏฐฑฒณดตถทธนบปผ\nฝ-\nพฟภมยรลว-\nศษสหฬอฮ',
'अआइई-\nउऊऋऌऍऎएऐऑऒओ\nऔक-\nखगघङचछ-\nजझञटठडढणतथदधन\n-पफबभमयरलवशषस\nह',
'ሀሁሂ-\nሃሄህሆለሉሊላሌል\nሎሏ-\nሐሑሒሓሔሕሖ\nሗመ-\nሙሚማሜምሞሟ\n-ሠሡሢሣሤሥሦ\nሧ',
'ا ب- ت -ث ج ح\nخ د ذ ر ز س\nش- ص ض ط ظ ع\nغ ف- ق ك ل م\n-ن ه و ي',
'ĀāĂă-\nĄąĆćĈĉĊċ-\nČčĎďĐđĒēĔĕĖėĘ\nę',
'ĚěĜĝ-\nĞğĠġĢ-\nģĤĥĦħĨĩĪīĬĭĮį\nİ',
'ıIJijĴ-\nĵĶķĸĹĺ-\nĻļĽľĿŀŁł',
'ŃńŅņ-\nŇňʼnŊŋŌōŎŏŐőŒœ\nŔ',
'ŕŖŗŘ-\nřŚśŜŝŞ-\nşŠšŢţŤťŦŧ',
'ŨũŪū-\nŬŭŮůŰű-\nŲųŴŵŶŷŸŹźŻż',
'Žžſƀ-\nƁƂƃƄ-ƅƆƇƈƉƊ-ƋƌƍƎƏ',
'ƐƑƒƓ-\nƔƕƖƗƘƙ-ƚƛƜƝƞƟ',
'ƠơƢƣ-\nƤƥƦƧƨƩ-ƪƫƬƭƮƯ',
'ưƱƲƳ-\nƴƵƶƷƸ-ƹƺƻƼƽƾƿ',
'ǀǁǂǃ-\nDŽDždžLJLjljNJNjnjǍǎǏ',
'ǐǑǒǓ-\nǔǕǖǗǘǙǚǛ-ǜǝǞǟ',
'ǠǡǢǣ-\nǤǥǦǧǨǩǪǫ-ǬǭǮǯ',
'ǰDZDzdz-\nǴǵǶǷǸǹǺǻǼǽǾǿ',
'ȀȁȂȃ-\nȄȅȆȇȈ-ȉȊȋȌȍȎȏ',
'ȐȑȒȓ-\nȔȕȖȗȘ-șȚțȜȝȞȟ',
'ΑΒΓΔ-\nΕΖΗΘΙΚ-\nΛΜΝΞΟΠΡΣΤ-\nΥΦΧΨΩ',
'あい-\nうえおかきくけ-\nこさしすせそたち\nつてと-\nなにぬねのはひふ\nへほまみむめもや\nゆよらりるれろわ\nをんぁ-\nぃぅぇぉっゃゅょ\nゎ',
'アイ-\nウエオカキクケコ\nサ-\nシスセソタチツテ\nトナニヌネノハ-\nヒフヘホマミムメ\nモヤユヨラ-\nリルレロワヰヱヲ\nンヴァィ-\nゥェォッャュョー',
'ㄱㄴㄷ-\nㄹㅁㅂㅅㅇㅈㅊㅋ-\nㅌㅍㅎㅏㅑㅓㅕㅗㅛ\nㅜㅠㅡㅣ',
'円山川-\n川口町村市区京大\n学乳水牛車自転車\n電車飛行機船航空\n宇宙駅道路-\n橋横断歩道交差点\n信号標-\n識地図国県市町村\n庁銀行郵便-\n局病院公園図書館\n博-\n物館美術館劇場映\n画館遊び場商店店\n舗-\n商品買物料理食事\n料理料理人調理食\n器鍋皿箸包丁'
];

Expand Down