diff options
author | Och Noe <och_noe@forksworld.de> | 2019-05-01 06:23:44 +0200 |
---|---|---|
committer | Och Noe <och_noe@forksworld.de> | 2019-05-01 06:23:44 +0200 |
commit | 6d375dfc8b008444867be97eee4794adffa2b9ab (patch) | |
tree | d7f7608a0547c33d61b3c8ea774ab7ab174ed839 /gen.js | |
parent | 0634f67347cc2bec495e85803efc2d8a22d0e43a (diff) | |
download | ehlphabet-6d375dfc8b008444867be97eee4794adffa2b9ab.tar.gz ehlphabet-6d375dfc8b008444867be97eee4794adffa2b9ab.tar.bz2 ehlphabet-6d375dfc8b008444867be97eee4794adffa2b9ab.zip |
sh.. git -- didn't added changed files
Diffstat (limited to 'gen.js')
-rw-r--r-- | gen.js | 17 |
1 files changed, 11 insertions, 6 deletions
@@ -1,6 +1,6 @@ var page = require('webpage').create(); -var w = 16; -var h = 16; +var w = 64; // 16,32,64 +var h = 64; var con = console; //viewportSize being the actual size of the headless browser @@ -31,6 +31,11 @@ var chars = [ "Π", "Ρ", "Σ", "Τ", "Υ", "Φ", "Χ", "Ψ", "Ω", // "猫" , // neko + "北", // (North, U+5317), pronounced běi + "东", // (East, Simplified, U+4E1C), pronounced dōng + "東", // (East, Traditional, U+6771), pronounced dōng + "南", // (South, U+5357), pronounced nán + "西", // (West, U+897F), pronounced xī ]; function encode_utf8(s) { @@ -52,13 +57,13 @@ page.evaluate(function () { document.body.style.backgroundColor = 'white'; document.body.style.margin = '0px'; - chEl.style.fontSize = '12px'; // 16 +// chEl.style.fontSize = '12px'; // 16 // chEl.style.fontSize = '24px'; // 32 -// chEl.style.fontSize = '48px'; // 64 + chEl.style.fontSize = '48px'; // 64 chEl.style.fontWeight = 'bold'; - chEl.style.marginTop = '1px'; // 16 +// chEl.style.marginTop = '1px'; // 16 // chEl.style.marginTop = '2px'; // 32 -// chEl.style.marginTop = '4px'; // 64 + chEl.style.marginTop = '4px'; // 64 chEl.style.textAlign = 'center'; }); |