Font is different in WP7 and WP8 project - windows-phone-7

this is quite a strange thing I've run into.
I've been developing Windows Phone Apps for over a year now, and even with the WP8 switch i never seen this before.
If i take my WP 7.1 app and upgrade it to WP 8 the font gets quite messed up, shown in the two screenshots below. (Both taken from my WP8 Lumia 620)
WP 7.1 Version -
WP 8 Version -
Quite strange indeed, the font used is "visitor1 TT1 BRK"
from http://www.dafont.com/visitor.font
The font is set as a BlendEmbeddedFont and used in XAML like this:
FontFamily="/TronRadio;component/Fonts/Fonts.zip#Visitor TT1 BRK"
Is it a .NET 4.5 thing that needs to be set or some other kind of problem?
It is the first time I've seen this problem, i have upgraded other apps with embedded fonts without running into this.
One note is that the font shows up fine in the Design Workplace (Visual Studio 2012 and Blend).
However on the Windows Phone 8 and Emulators the above problems shows.
Thanks

Why don't you select the font in Expression Blend and then Embed it separately for Windows Phone 7 and 8 apps. This might help.

Related

Resizable panel/grid for Windows 10 Universal App

I need to make a resizable side panel (intended to display numerous properties and tools) for my Windows 10 Universal App. I found there is a GridSplitter for WPF apps, but it seems this control doesn't work for Win10 Apps. Is there any other way how to achieve this functionality?

Windows 8.1 app not listed in Windows 10 store?

I have a Windows store app (made for Windows 8.1). After upgrading to Windows 10, I was able to install my app without problems.
I was always able to find my app through the category and the top charts. But now, I cannot find it at all. Only when I search for a keyword related to the app, it shows up as expected.
Is that normal? What could be the reason?
I have contacted Microsoft regarding this matter and received a reply.
It appears that Microsoft has changed the chart listing algorithm in Windows 10, kicking all apps out (from Windows 8/8.1) that are not cross-platform pc-mobile. You can still find the applications by the search, but they are not visible in any charts anymore.

Include Windows 8 namespace in Windows Phone 8 [duplicate]

I am trying to write a Windows Phone 8 SDK-based application. I keep seeing mention of a ProgressRing control but I don't see it in the Toolbox or in the xaml designer.
How do I use this?
ProgressRing is part of the Win8 UI controls, not WP8. In WP8 you should use SystemTray.ProgressIndicator instead which is part of the windows phone UI shell. See here and here for samples.
See below blog link for simple copy&paste code to exactly replicate the Windows ProgressRing (uses the actual style code). Works perfectly, just added it to my WP8 project:
http://briandunnington.github.io/progressring-wp8.html
There is more info about adapting it to WP8 in the answer to this question:
How to Use ProgressRing in Windows Phone 8
Download this app for your phone to see it in action.
ProgressRing is not available for Windows Phone 7 or 8, you have to use ProgressBar or rather the PerformanceProgressBar:
http://www.windowsphonegeek.com/articles/WP7-PerformanceProgressBar-in-depth

top margin issue for windows phone 7 apps on windows phone 8

The windows phone 7 application which I developed using 7.1 SDK occupies the entire screen on wp7. But the same application when opened in Windows Phone 8 shows some extra margin on top because of which my app was not able use the space on top. Any idea how to fix this?
WP7 only supports only one resolution (480x800).
For 480x800 WP8 devices that's obviously fine.
For 1280x768 devices this scales fine as this is the same aspect ratio.
However 1280x720 devices have a different aspect ratio which leaves the black bars at the top of the screen.
The only way to fix this is to upgrade your project to WP8 using the WP8 SDK (whilst watching out for any subtle issues that may bring).

if I use a BlankApp(xaml) Template in Metro Apps and develop my desired UI , will it work accordingly in Windows phone also?

1) What I have understood that if you develop a application in metro style, it work in desktop, tablet and also phone?
2) I can understand if I use a standard template like grid template for developing my metro style app, that grid view will be converted to listview because of visual state transitions and will work in Windows phone. but my doubt is if we use a blank app template and develop whatever UI I developed as per client requirement will it be able to render or show up in windows phone?
A WinRT app (I assume that is what you mean by Metro) will run on the desktop/tablet and theoretically a Windows Phone 8 device without code changes. First, note that we are talking about Windows Phone 8 (not the current Windows Phone 7) and that it runs, not that the UI layout will be exactly right.
You can design the app however you like, whether it conforms to the Metro design or some other look altogether. If it is developed on WinRT, it should be code compatible with the phone as well.

Resources