enketo / enketo-dristhi

Customized enketo-core to be used in hybrid Android app called Dristhi
Apache License 2.0
2 stars 10 forks source link

remove unnecessary font files #15

Open MartijnR opened 10 years ago

MartijnR commented 10 years ago

@kirang20 do you know which font file the Android webview(s) prefer?

I added all 4 formats that are used on the (real) web: https://github.com/MartijnR/enketo-dristhi/tree/master/build/font, but I think we can remove the 3 formats that are not necessary for Android webviews.

MartijnR commented 10 years ago

@kirang20 if for any reason you want to reduce the package size further we can easily this.

kirang20 commented 10 years ago

Sorry for the late reply Martijn. The link in the comment is not working.

Regards, Kiran Nagu naguta nali nali ene agali

On Fri, Nov 15, 2013 at 4:33 AM, Martijn van de Rijdt < notifications@github.com> wrote:

@kirang20 https://github.com/kirang20 do you know which font file the Android webview(s) prefer?

I added all 4 formats that are used on the (real) web: https://github.com/MartijnR/enketo-dristhi/tree/core-2.0/build/font, but I think we can remove the 3 format that are not necessary for Android webviews.

Reply to this email directly or view it on GitHubhttps://github.com/MartijnR/enketo-dristhi/issues/15 .

MartijnR commented 10 years ago

I think I edited the original post on github after the email was sent. That link is working. In any case the question is a general one. There are 4 font formats .eot, .ttf, .woff, .svg. The android webview only uses one of them, so we could reduce the Dristhi package size by removing the unused ones, if you'd wanted this.