cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse <purplecabb...@gmail.com>
Subject Re: Windows Phone, platform "Windows" and icon fonts
Date Mon, 25 Apr 2016 19:09:59 GMT
Adding charset to the data-url appears to have resolved the issue:
data:application/x-font-woff;charset=utf-8;base64,...




@purplecabbage
risingj.com

On Mon, Apr 25, 2016 at 10:16 AM, Raghav Katyal <rakatyal@microsoft.com>
wrote:

> They do not use the same IE version. Also it works on Windows Phone 10 as
> well.
>
> -----Original Message-----
> From: Jesse [mailto:purplecabbage@gmail.com]
> Sent: Monday, April 25, 2016 9:58 AM
> To: dev@cordova.apache.org
> Subject: Re: Windows Phone, platform "Windows" and icon fonts
>
> cordova-wp8 platform uses IE10, regardless of what is on the phone.  This
> is done internally via a compatibility layer in the sdk so that moving to a
> more recent device / OS does not break existing apps.
> Thank you for posting a sample, I will have a look at it and report back
> soon.
>
>
> @purplecabbage
> risingj.com
>
> On Mon, Apr 25, 2016 at 2:05 AM, Alexander Urban <
> alexander.urban@timeflex.de> wrote:
>
> > Hello Raghav,
> >
> > I am not sure why the browser should be an issue, since both windows
> > and
> > wp8 platform should use the very same IE under the hood, and on wp8
> > platform it is working.
> >
> > I could take this problem to stackoverflow, but I guess they'd tell me
> > it's a bug and I should take it to the devs.
> >
> > Kind regards,
> >
> > Alexander
> >
> > -----Urspr√ľngliche Nachricht-----
> > Von: Raghav Katyal [mailto:rakatyal@microsoft.com]
> > Gesendet: Freitag, 22. April 2016 23:31
> > An: dev@cordova.apache.org; Alexander Urban
> > <alexander.urban@timeflex.de>
> > Betreff: RE: Windows Phone, platform "Windows" and icon fonts
> >
> > Hi Alexander,
> >
> > I looked into this and could verify the issue. However I don't think
> > this falls within the scope of Cordova, but an issue with the browser
> > being run on Win8.1 phone. I tried to look for solutions and found
> > some potential hacks online. I think stackoverflow or something
> > similar might be a better place to take this.
> >
> > -Raghav
> >
> > -----Original Message-----
> > From: Alexander Urban [mailto:alexander.urban@timeflex.de]
> > Sent: Thursday, April 21, 2016 12:08 AM
> > To: dev@cordova.apache.org
> > Subject: Windows Phone, platform "Windows" and icon fonts
> >
> > Hello cordova dev team,
> >
> > I have an issue with Windows Phone 8.1, the "windows" platform and
> > icon fonts. Since wp8 is deprecated, I thought I'd better switch to
> > platform "windows". This came to a grinding halt because the icons are
> > not rendered correctly. The issue first showed in Sencha Touch 2.4.2,
> > but I have made a minimal sample app to rule out Sencha Touch issues,
> > which is available at
> > https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.sd
> > fe.de%2fsamples%2ffonttest-cordova.zip&data=01%7c01%7crakatyal%40micro
> > soft.com%7c6d08436656544290859c08d369b73316%7c72f988bf86f141af91ab2d7c
> > d011db47%7c1&sdata=EzAOcnU%2bGjbDRNehTY%2bLrBE0lLMdISTf%2bH9O5Ctom9Y%3
> > d
> >
> > The cordova version currently installed on my computer is 6.1.1 with
> > platforms windows 4.1.0 and wp8 3.8.2 (deprecated).
> >
> > For this test I just compiled the wp8 and the windows version using
> >
> >
> > -          cordova build wp8 windows
> >
> > then opened both solutions in Visual Studio 2015, set the "Windows
> > Phone 8.1" in CordovaApp.sln project as my default project, and
> > deployed the two projects to my phone (Nokia Lumia 535, Windows
> 8.10.14234.375).
> >
> >
> > *         In platform "wp8", the icon font is used to render the icons.
> >
> > *         In platform "windows", a standard font is used (which looks
> > really bad with icon fonts).
> > What should happen is that the icon font is used as well.
> >
> > Kind regards,
> >
> > Alexander
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
> > For additional commands, e-mail: dev-help@cordova.apache.org
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message