Santhosh Thottingal
8640964f95
Clicking on the 'Apply Settings' does not close the ULS panel
...
Bug: 48898
Change-Id: I0c05a9a1be14c1036110f84c7a0080b98f93ee1d
2013-06-03 15:10:38 +05:30
Santhosh Thottingal and Amir E. Aharoni
d1988bb3c7
Blacklist old browsers
...
Blacklist browsers not supporting boxModel
Change-Id: I19bd7e3dbaec2454d8512e5d6f394c21fb6ce5cd
2013-06-03 08:51:04 +03:00
Santhosh Thottingal and Gerrit Code Review
2a6cb597f5
Position the language settings in RTL with interlanguage position
...
The left position of the window was wrong.
Change-Id: I3353d930cb8251021f206ed5f1a0821d17059fe8
2013-06-03 05:44:55 +00:00
Santhosh Thottingal and Gerrit Code Review
73716f3f67
Remove lot of scroll to view related code
...
Just use javascript scrollIntoView to do that.
Also remove duplication of code related to this
Change-Id: Ied1235a85f4fe2d99afa127737979c24d3591118
2013-06-03 05:44:17 +00:00
Santhosh Thottingal
a4c0534e7e
Update jquery.uls from upstream
...
Bug: 47821
Change-Id: Iee1af1341accf8af5a0ec44d7ad8f07c331656ab
2013-06-02 04:59:30 +00:00
Santhosh Thottingal
4d1969161c
Avoid setting inline style for the element when reset applied
...
Followup: Ic3baa18b01a972f08e51e84217e82d0939e674c0 and
Iff522e0016d8284dc785580e6eb3dd2967c58289
Bug: 39992
Change-Id: Ifd8c4629f5512f6d54fc0a19d3b8d2bec4db23c0
2013-06-01 18:13:34 +05:30
Santhosh Thottingal
000d04c14e
Update jquery.ime from upstream
...
Change-Id: Iac3c14f82c982396c4bcecfb3c5cc97df82c41cb
Version: 0.1.0+20130531
2013-05-31 16:43:46 +05:30
Santhosh Thottingal
11fc0347ea
Make sure languages section is visible when adding ULS cog icon
...
Make sure element #p-lang shown.
Bug: 49005
Change-Id: I4cc238f87fdce0c5813b82516599ba3c0d3bf44c
2013-05-31 11:04:16 +05:30
Santhosh Thottingal
66e1fab8a8
Exclude does not apply if the editfont preference is default
...
'editfont' == 'default' means 'Browser default' font setting. We can
apply webfonts there.
Change-Id: Iff522e0016d8284dc785580e6eb3dd2967c58289
2013-05-29 15:23:34 +05:30
Santhosh Thottingal
b9462e709f
Update jquery.webfonts from upstream
...
Change-Id: Ic3baa18b01a972f08e51e84217e82d0939e674c0
2013-05-29 15:22:36 +05:30
Santhosh Thottingal
931cb6dc22
Do not use "System" as a font
...
Regression from I62860f9d62538915628ad21e5d904e56bdcc9430
Bug: 48871
Change-Id: I72f5c40739928244cd402c000b48af9911c5b0c7
2013-05-28 21:15:47 +05:30
Santhosh Thottingal and Amir E. Aharoni
8b46d34004
Allow ULS language settings accessed from user preference screen.
...
Adds a link in 'personal/i18n' section of user preferences
Bug: 47240
Change-Id: I04d1ea7d36db45f9a0af04e11dade9ae0b524e8e
2013-05-27 16:33:40 +03:00
Santhosh Thottingal
65711c312d
Fix cancel behaviour of display settings
...
Font selection becomes persistent despite cancelling it
Bug: 47976
Change-Id: Iea4b65a8a13da3cb4a86f5b6521d62cb1372b42a
2013-05-27 18:24:14 +05:30
Santhosh Thottingal and Gerrit Code Review
8655504371
Refactor interface integration code
...
Reduce document.ready code by moving functions outside and grouping
tooltip related code to a function.
Also remove window and document from wrapper anon function since
browser: true is defined in .jshintrc
Bug: 48156
Change-Id: I7228285cdcb33b915e96e7e2c59e4dbc90f5fc96
2013-05-27 12:35:49 +00:00
Santhosh Thottingal and Gerrit Code Review
540ada592d
Access i18n json files from same domain for IE8 and IE9
...
IE8 and IE9 does not support ajax with CORS. So make sure they
load json files from same domain.
See http://bugs.jquery.com/ticket/8283
Bug: 45958
Change-Id: I8442a5efbd4ca7db0f0a407ff94772ea8e213b29
2013-05-27 09:54:03 +00:00
Santhosh Thottingal
f23666a15a
Get the saved font using the fontSelector defined in mw.webfonts.setup
...
Also make sure that correct language is passed to the getFont
It was wrong in current version - UI language was passed always
(introduced in a refactoring to avoid code duplication for content
and ui language- commit: 98bb1c200c )
Change-Id: I62860f9d62538915628ad21e5d904e56bdcc9430
2013-05-27 14:43:30 +05:30
Santhosh Thottingal
164568e516
Remove document from anon cover function
...
jshintrc has browser:true setting
Change-Id: I30acfb63f132473611be9da4edf12c3b6ea42523
2013-05-27 13:59:36 +05:30
Santhosh Thottingal
1248d24fb2
Update jquery.uls from upstream
...
* i18n update
* Fixes Bug 48151
* Adds Syriac language
Change-Id: I9b77b3eb74ce0050bc854c85e62060855c1268cb
2013-05-24 17:45:37 +05:30
Santhosh Thottingal
170be2068e
Reset the dirty bit after preferences are saved.
...
Bug: 48703
Change-Id: I5768c455324396d503646a4c803e9d512f47c0e1
2013-05-23 15:36:33 +05:30
Santhosh Thottingal
cea4d81766
Display notification when disabling input methods from keyboard icon menu
...
Bug: 48534
Change-Id: Id6c1cb22cb09a226cfcc84d597724e5d803392f3
2013-05-23 12:15:49 +05:30
Santhosh Thottingal and Amir E. Aharoni
3cdcd26b63
Do not show ULS in weird positions
...
ULS was shown relative to input field position. That will not work
always. Show it in default position - center of screen.
Change-Id: I5fd9f10d955322abd2623ce8b88792b391553dcd
2013-05-22 15:48:59 +03:00
Santhosh Thottingal
8f57432672
Revert "Remove redundant focus handler"
...
This reverts commit 739d952a81 .
Bug: 48703
Change-Id: Ib66ed3c824f0bd5e68258eb5a39b8affc8b50e9f
2013-05-22 17:49:23 +05:30
Santhosh Thottingal and Gerrit Code Review
76e205234a
Update webfonts test page
...
This was broken when the ULS javascript files were changed.
Change-Id: I7cb1769957a6514cd303aada459678a2ce8127ae
2013-05-22 11:52:22 +00:00
Santhosh Thottingal and Gerrit Code Review
4a49c25f10
Provide disable input tools option in IME menu
...
Bug: 48533
Change-Id: Ie856cbda344ae2624567fb6c2d6206996c3b10dc
2013-05-22 08:52:10 +00:00
Santhosh Thottingal and Gerrit Code Review
739d952a81
Remove redundant focus handler
...
focus on input field and updating language(can be changed from settings,
selector etc) is already handled inside jquery.ime
But focus on the particular input field need to be triggered, without
consuming focus event with in the event handler
Change-Id: I0b3783542e23b194fe141b9aef692a855469ce62
2013-05-22 08:49:47 +00:00
Santhosh Thottingal and Gerrit Code Review
a73c24f54c
Add fonts for Syriac Armaic languages
...
Fonts added: EastSyriacAdiabene, Estarngelo Edessa and SertoUrhoy
Languages: syc, arc
Bug: 47229
Change-Id: Id4f434c544d71a5b9a95ae73c7fd502cdd083019
2013-05-22 08:10:23 +00:00
Santhosh Thottingal
a93438a14e
Update jquery.ime from upstream
...
Version 0.1.0.20130522
Changes:
* Correct the versioning by adding build date metadata
* Remove an unwanted css style
* Avoid screen jump on click of IME menu items
* AltGr+M doesn't create a µ
* Code cleanup
Change-Id: Ia9ccd89a24f4d8627cf3a16f59984ad79f3d49f5
2013-05-22 13:33:21 +05:30
Santhosh Thottingal and Nikerabbit
2174740bb6
Revert "Add a MediaWiki preference for enabling ULS IME"
...
This reverts commit 6ae0fe3e44 .
The commit was duplicating the preferences in 2 places
making the syncing hard.
As per discussion with Pau, we will try alternate approach.
Bug: 48642
Change-Id: I5c97838ed875364dc35b66a3d6c33d9975b5107e
2013-05-22 07:46:05 +00:00
Santhosh Thottingal
bf270812f5
Fix all jshint errors
...
Change-Id: Ib8fb350132bb34c1e063eb644af5aeff833f95e8
2013-05-20 15:07:42 +05:30
Santhosh Thottingal
146f0fc2a4
Scroll the window to show language settings if necessary
...
Restores the feature removed while refactoring in
Iafb15ac9a7140fcce9e71ed933be6c55be81dc7e
Change-Id: I3aec168457190b7bfb40c09c97252e0cbb3dd1de
2013-05-20 14:01:58 +05:30
Santhosh Thottingal and Gerrit Code Review
00c37b9218
Update jquery.ime from upstream
...
* selectLanguage need to check whether
ime changed before return with noop
* Add dot reph(0D4E) to Malayalam transliteration
Change-Id: I35c05e8261270096ceb652db9b0dc24be9fa71fc
2013-05-20 08:07:50 +00:00
Santhosh Thottingal and Gerrit Code Review
b1563040ab
Cog icon can be used to close the language settings panel
...
Bug: 47971
Change-Id: I7b6d6142e113bf3f90feef1650bc384a5edc42cb
2013-05-20 07:59:43 +00:00
Santhosh Thottingal
bb3e72f5a0
Simplify the language settings display
...
Directly show language settings instead of showing ULS language selector
and then simulating click on language settings
Change-Id: Iafb15ac9a7140fcce9e71ed933be6c55be81dc7e
2013-05-20 10:21:38 +05:30
Santhosh Thottingal
3b2e39d822
Avoid duplicate languagesettings dialog in page source
...
Bug: 48211
Change-Id: I78ad47b1875f9f6f40707fb05f948c939fe91b39
2013-05-15 14:46:46 +05:30
Santhosh Thottingal and Gerrit Code Review
d3ce43b1d7
Update jquery.ime from upstream
...
Fixes the positioning of the menu if there is not enough space
in the left side.
Bug: 41738
Change-Id: I64d40acb41559b0b6376c03a4076d17dcedbc466
2013-04-03 05:50:14 +00:00
Santhosh Thottingal
38e1ab2e5d
Monobook's CSS shouldn't change ULS language name case
...
Adds a skin specific css
Bug: 46725
Change-Id: I85e29515280ea2af6262c20937a0d9bd960244b3
2013-04-03 09:30:46 +05:30
Santhosh Thottingal and Siebrand
305e883eb1
Add Divehi font
...
Using the font from GNU FreeFont(subset)
Bug: 42812
Change-Id: I55c5045ac764d9a40e7ee9b7e9881414816863f4
2013-04-01 13:41:08 +00:00
Santhosh Thottingal
5bbdd16aa7
Version update
...
Change-Id: I52b4c9c7d5f8172dffe51c9fdfd1213f58d73b14
2013-04-01 09:44:36 +05:30
Santhosh Thottingal and Gerrit Code Review
453912fdf2
Provide a base ULS RL module and seperate UI language selection
...
ULS is disabled for anonymous users on WMF projects. But to provide
rest of the features - apis, language database, language selection for
many use cases, we need to provide a minimal ULS. RL module
ext.uls.init does that job now.
For using ULS as interface language selection tool, new RL module
ext.uls.interface is introduced. That will add UI language selection,
webfonts, ime features, if enabled.
Change-Id: I796a7c9cce0de42bf8aa06b26e383e0075dbe1dd
2013-03-26 07:20:01 +00:00
Santhosh Thottingal and Niklas Laxström
d4cea039b4
Update jquery.uls and make it more modular
...
jquery.uls RL module split to
* jquery.uls (language selector UI/UX)
* jquery.uls.grid (Foundation grid framework)
* jquery.uls.data (language database)
* jquery.uls.compact (compact mode ULS)
This contains updates from jquery.uls upstream
Change-Id: Iaddb1228c076f698498d3b0554061624b6e433c6
2013-03-26 07:17:58 +00:00
Santhosh and Gerrit Code Review
e64ded0c85
Merge "Adding the Alef font for Hebrew"
2013-03-25 04:58:12 +00:00
Santhosh Thottingal and Nikerabbit
7178b0eb5a
(Bug 42378) Make "disable IME tools" effects immediate as a preview
...
Change-Id: I76560e4c4bc0ddaa1c7cc78202e14a46b6e7ac76
2013-03-15 14:20:43 +00:00
Santhosh Thottingal
fc7578abb1
Update jquery.uls from upstream
...
* Compact mode
* Close ULS when clicked outside
Change-Id: I9cece8cde025ff2816ac8f908c425347c15f7490
2013-03-15 14:58:10 +05:30
Santhosh Thottingal
629947ea8b
Add Tuladha Jejeg font for Javanese
...
for jv as non default font, for jv-java as default font
Change-Id: I86a60a510f2d2b070a4aaa7549c1e0c6936a4a01
2013-03-13 22:10:59 +05:30
Santhosh and Gerrit Code Review
9dd0d4af7f
Merge "Optimize pngs"
2013-03-13 10:06:44 +00:00
Santhosh Thottingal
b8b4b275ff
Update jquery.ime from upstream
...
Change-Id: I8aaec153f29863174430d9c338eb2d97b8c835d6
2013-03-13 13:24:26 +05:30
Santhosh Thottingal
0fcd17ab88
Update jquery.ime from upstream
...
* Fixes bug 44992
* Improvements to click event handling
Change-Id: I2146340051b937cb51e7f296fd947262c781d712
2013-03-11 11:45:14 +05:30
Santhosh Thottingal and Gerrit Code Review
ba92cb5e08
Merge "Simplify variables and clean up comments"
2013-03-11 05:27:05 +00:00
Santhosh Thottingal and Amir E. Aharoni
77383aa26a
Simplify variables and clean up comments
...
Not supposed to have any functional changes
Change-Id: Ibb16af9144f183d85b985bcb3133a4244e310cda
2013-03-07 17:49:52 +02:00
Santhosh Thottingal
3cce3dd599
Cache the options token for preferences system
...
Change-Id: I2e9a4326119db390aba36cc5bc6da20c5c16eed1
2013-03-07 14:49:39 +05:30
Santhosh Thottingal
9acff7e9b7
Update jquery.uls from upstream
...
Change-Id: I3d9cfad170afe09ae78ca2f739606a0e23d7b3fb
2013-03-06 15:58:32 +05:30
Santhosh Thottingal
0738d68504
Update jquery.ime from upstream
...
Change-Id: I5cecbb8628fe61a00abfab89cc628db25b408528
2013-03-06 15:33:06 +05:30
Santhosh and Gerrit Code Review
75022431c2
Merge "SVG versions of icons"
2013-02-21 08:52:21 +00:00
Santhosh Thottingal and Gerrit Code Review
3a46fb9da1
Update jquery.uls from upstream
...
Change-Id: Ib965e43f987436ddaa398b43c71e1ad25183f1d5
2013-02-18 06:35:09 +00:00
Santhosh Thottingal
7d9b81fb9d
Update jquery.ime from upstream
...
* Adds many input methods
Change-Id: I2f3576948416e7d2bf2f935e609fe50977e7e9d9
2013-02-17 09:44:26 +00:00
Santhosh Thottingal
34f5104cb7
Update from upstream
...
* Use svg icons when possible.
Change-Id: I87f89678f48d50ab9a214726f957a50cfeef670c
2013-02-08 10:15:38 +05:30
Santhosh Thottingal
067deaf42f
Update jquery.uls from upstream
...
* Move settings to the bottom of language selector
* more locallization
Change-Id: I4bb17692469f4c19703b8d90b30ce1c002a81310
2013-02-06 16:30:33 +05:30
Santhosh Thottingal
777a4ac447
(Bug 42439) Incorrect vertical alignment for Telugu web font
...
Vertically aligned the buttons to middle
Change-Id: I405478888114e049cc9b311c2670e4ea420c83d6
2013-01-31 15:11:02 +05:30
Santhosh and Gerrit Code Review
99f17ae826
Merge "Make disabling input methods work"
2013-01-18 06:11:38 +00:00
Santhosh Thottingal
bfb1f319eb
Version update
...
Change-Id: I7afb84041b2700ad5fe1dd49c806ff8e1cb9ebbb
2013-01-16 17:15:12 +05:30
Santhosh and Gerrit Code Review
d80cbd9b08
Merge "(bug 44010) Try to avoid messing wrong request contexts"
2013-01-16 10:08:52 +00:00
Santhosh Thottingal
076b9af4cf
(bug 44021) WebFonts font drop-down menu has "Opendyslexic" instead of "OpenDyslexic"
...
Change-Id: Ibcdf2a915085a1b0560db609a8971d837fb2b8c9
2013-01-16 09:24:33 +05:30
Santhosh and Gerrit Code Review
d24d82cae5
Merge "Preferences tests"
2013-01-14 08:54:20 +00:00
Santhosh and Gerrit Code Review
f5790aaef3
Merge "(bug 42375) Show current IME language in ULS input settings"
2013-01-09 14:36:46 +00:00
Santhosh Thottingal
1e4505e964
(bug 43568) Languages are shown multiple times
...
Update jquery.uls from upstream
Change-Id: I5e3aef0c78c60df93f2c031721049b0164134fc0
2013-01-07 20:16:57 +05:30
Santhosh Thottingal
4701f930c9
update jquery.uls from upstream
...
Change-Id: I5d043ab57eb05ee061ef5508cd5180d1dade19f2
2013-01-07 16:17:30 +05:30
Santhosh and Gerrit Code Review
bd42a61c0e
Merge "Update from upstream"
2013-01-02 11:21:07 +00:00
Santhosh Thottingal and Amir E. Aharoni
086ee5ff1d
Fix the webfonts preferences
...
Disabling was not working actually. If disabled donot call
webfonts() on body. Also addresses Bug 39992.
Change-Id: I8e4d466dd9271604be6ae722c49357b192651950
2013-01-01 08:49:26 +02:00
Santhosh Thottingal and Gerrit Code Review
f9b5cffe16
Merge "(Bug 42692) #pt-uls .uls-trigger is missing left padding in Modern skin"
2012-12-07 12:04:30 +00:00
Santhosh Thottingal and Gerrit Code Review
0b7b360824
Merge "Update jquery.uls from upstream"
2012-12-07 04:36:56 +00:00
Santhosh Thottingal
4f65a3a20c
(Bug 42692) #pt-uls .uls-trigger is missing left padding in Modern skin
...
Change-Id: Icff2d8503b7bf74e535e10e461773dbcf2c14524
2012-12-05 12:42:24 +05:30
Santhosh Thottingal
ff54d8ac13
Update jquery.uls from upstream
...
Contains CSS grid changes
Change-Id: I064304d0727c9a050935793c44588c6eb93c00b4
2012-12-04 11:07:28 +05:30
Santhosh Thottingal and Gerrit Code Review
442561663c
Fix Bug 39684 - UI language change preview in display settings
...
When the user selects a UI language in the display settings dialog, the UI of
the dialog should preview immediately to the selected language. The change will
be only persisted if the user selects "apply changes".
Change-Id: I362e75c38c9d4a9921319f510653e2152d50fbb4
2012-11-26 08:49:41 +00:00
Santhosh Thottingal
0d4c477323
Update jquery.ime from upstream
...
* Hide the IME selector after a few milliseconds of inactivity.
Change-Id: I1d06cab7b5a573dea9c82a95fea463b021c4f8ba
2012-11-26 12:12:36 +05:30
Santhosh Thottingal
45194da68c
Add Kannada Gubbi font to repo, replace Kedage
...
Tcy also use the same font, but not default font.
Change-Id: I791e7d69b4c59867f208f2b3cdfa5305972130df
2012-11-26 09:58:36 +05:30
Santhosh Thottingal and Niklas Laxström
ea8bbfd35d
(bug 42374) Provide clear indication of lack of IME support for a language
...
Change-Id: Id637eed3544a66aac4185f9e9d967691fe481331
2012-11-23 12:38:52 +00:00
Santhosh Thottingal and Gerrit Code Review
e3d8189162
No need of IME in language search bar of ULS
...
Change-Id: Iab5c08f3edd5047200819fa3cde95bfb5d78db35
2012-11-23 09:57:41 +00:00
Santhosh Thottingal and Gerrit Code Review
59f32ad7fe
Fix the language selection from language selector for IME
...
Change-Id: I40e77680e4832a38a9c0ae03bbf5a3850afa518e
2012-11-23 09:14:34 +00:00
Santhosh Thottingal and Gerrit Code Review
8bfe9862fa
Avoid hardcoded font fallback stack
...
Change-Id: I07571d1390f4f68313b786d3dd1371488b6534a6
2012-11-23 09:14:20 +00:00
Santhosh and Gerrit Code Review
0f96c29356
Merge "(bug 39685) Disable the Apply button until there are changes"
2012-11-23 06:38:24 +00:00
Santhosh and Gerrit Code Review
18ae475909
Merge "(bug 39685) Disable the Apply button until there are changes"
2012-11-23 06:33:31 +00:00
Santhosh and Gerrit Code Review
7076d53d29
Merge "Consistent name for the inputSettings variable"
2012-11-22 10:57:48 +00:00
Santhosh Thottingal
58b304206a
Update jquery.ime from upstream
...
* Hide ime on blur
Change-Id: I18e18243c751efb96781ec20fba40495a1ee9f21
2012-11-22 15:17:44 +05:30
Santhosh and Gerrit Code Review
7d1b36487f
Merge "Update from upstream"
2012-11-22 06:06:47 +00:00
Santhosh Thottingal
9a6f1cfd93
Update jquery.uls from upstream
...
* UX fixes
* More localization
Change-Id: I9f0345cbd4b785f4293ab02fe0006df5c7377cd1
2012-11-21 17:34:51 +05:30
Santhosh Thottingal
36a8382763
Do not close when clicked outside
...
Change-Id: I8c62161ee277dcbad9f8989362290b983978c785
2012-11-21 17:34:33 +05:30
Santhosh Thottingal
5e6d44e940
Close the language settings if clicked outside
...
Make the behavior consistant with ULS language selector
Change-Id: I9bfc29f908ebe48a1bb9cdcdede75a5d5aa3839d
2012-11-21 17:05:27 +05:30
Santhosh Thottingal
710e72c2c7
Fix Bug 42100 - Add more languages for OpenDyslexic font
...
nl fy li id tl gl bk nb added
Change-Id: Ie97aabe1e28bd92a7142f21a0b4dcda94ec3019f
2012-11-21 16:50:27 +05:30
Santhosh and Gerrit Code Review
5035f5d739
Merge "Small text styling for 'disabled IME' text"
2012-11-20 11:23:51 +00:00
Santhosh Thottingal
ad094f459f
Just hide the whole window after apply button pressed
...
Change-Id: I6fe8675bddc7fa5fa8e3ac56cdbb3604cc695e22
2012-11-19 15:11:54 +05:30
Santhosh Thottingal and Gerrit Code Review
d8599bee18
Update jquery.uls from upstream
...
* Bug fixes
Change-Id: Ibb57ba4465ddb0878260cc23d4b7fe8a01a272a8
2012-11-19 08:00:51 +00:00
Santhosh Thottingal and Gerrit Code Review
f8947b9686
Update jquery.ime from upstream
...
* UI improvements, fixes
* More input methods
* Misc functionality fixes
Change-Id: I1a516027e9654a498e4e87c83f8d72ad24eb5596
2012-11-19 07:56:53 +00:00
Santhosh Thottingal and Amir E. Aharoni
e3e0be19f2
Update the inputmethod settings as per design
...
Design: http://dl.dropbox.com/u/30377416/i18n/visual/input-settings.pdf
Do not show the language list and input methods if IME is disabled
And do not show descriptive text if IME is enabled.
Change-Id: I49e07cbadf7e253e4fb0d5a59029d9884308c06a
2012-11-19 09:20:41 +02:00
Santhosh Thottingal
7c4646a059
Remove href=#, to fix Bug 41988
...
Change-Id: I8eacaa452eb71d237fc671aa63c4707b8e14a83f
2012-11-19 10:59:26 +05:30
Santhosh Thottingal
5a604d9f3f
Updated webfonts test page with bold, italic, underline options
...
Works with font variants
Change-Id: Ic143498f1fa02f261e5740873a97929a8f6354b0
2012-11-14 17:05:25 +05:30
Santhosh Thottingal
0d11c4ef77
Updated repository with font variants
...
Change-Id: Iddb5dafd60a527b7ce4cb9a9a96e48f460d5fcdf
2012-11-14 15:28:58 +05:30
Santhosh Thottingal
cf8fcf80ee
Add font variants for Amiri
...
Change-Id: I657cd8cd7ff7921cc8973b89356e31a9eb49cf00
2012-11-14 15:25:17 +05:30
Santhosh Thottingal
54f229d72b
Update the font.ini with variant information
...
Change-Id: I9e50fb2be81f8597247458edd8e45073fb924d3e
2012-11-14 15:25:01 +05:30
Santhosh Thottingal
42e3a65131
Support font variants
...
Generate the font listing in javascript with variant support
An example of generated script:
"Opendyslexic": {
"version": "0.6",
"license": "Creative Commons Attribution 3.0 Unported License",
"ttf": "Opendyslexic\/opendyslexic.ttf",
"eot": "Opendyslexic\/opendyslexic.eot",
"woff": "Opendyslexic\/opendyslexic.woff",
"variants": {
"bold": "Opendyslexic Bold",
"italic": "Opendyslexic Italic"
}
},
"Opendyslexic Bold": {
"version": "0.6",
"license": "Creative Commons Attribution 3.0 Unported License",
"fontweight": "bold",
"ttf": "Opendyslexic\/opendyslexic-bold.ttf",
"eot": "Opendyslexic\/opendyslexic-bold.eot",
"woff": "Opendyslexic\/opendyslexic-bold.woff"
},
"Opendyslexic Italic": {
"version": "0.6",
"license": "Creative Commons Attribution 3.0 Unported License",
"fontstyle": "italic",
"ttf": "Opendyslexic\/opendyslexic-italic.ttf",
"eot": "Opendyslexic\/opendyslexic-italic.eot",
"woff": "Opendyslexic\/opendyslexic-italic.woff"
},
Corresponding ini file:
[Opendyslexic]
languages=en,af,pt,es,sw,de,fi,sq,fr,hu,ca,da,fo,ga,is,ms,sv,wa,lb,gd,oc,tr,mi,it,et,cy
version=0.6
license=Creative Commons Attribution 3.0 Unported License
licensefile=http://dyslexicfonts.com/license.php
url=https://github.com/antijingoist/open-dyslexic
ttf=opendyslexic.ttf
eot=opendyslexic.eot
woff=opendyslexic.woff
bold=Opendyslexic Bold
italic=Opendyslexic Italic
[Opendyslexic Bold]
ttf=opendyslexic-bold.ttf
eot=opendyslexic-bold.eot
woff=opendyslexic-bold.woff
fontweight=bold
[Opendyslexic Italic]
ttf=opendyslexic-italic.ttf
eot=opendyslexic-italic.eot
woff=opendyslexic-italic.woff
fontstyle=italic
Change-Id: I55afcd89fe5be5ecf35b4f2fc47ba508fbcfc41e
2012-11-14 15:21:23 +05:30
Santhosh Thottingal
bd8aa89c2b
Update jquery.webfonts from upstream
...
Has proper font variant support
Change-Id: I5af7243106b140ed87e729b3fd6563d57e21ca7d
2012-11-14 15:19:36 +05:30