I have a very strange behavior in an application that is targeted to Windows Phone 7.1 (and therefor will also run on Windows Phone 8).
For my icons I'm using the Segoe UI Symbol font.
When I run the application on WP 8, the icons are displayed correctly.
If I run it in WP7 though, some of the icons are displayed as rectangles.
I figured that the font on WP7 was probably an older version, so what I did was download the font from my Win8 PC and used it as an embedded font in WP7, but it still does not work.
Anyone has an idea on how to fix this?
Are you reference it as "Resource"?
Try specify full path with assembly name. Like
/Acme.Product;component/Assets/seguisym.ttf#Segoe UI Symbol
Hmm,
I managed to get it working.
What I needed to do was:
Clean the font
Rename the original file name
Rename the font using TypoGraf
Rebuild the project
I'm not a 100% sure that everything is needed but at least this way I got it working.
Related
As you can see in my attached screenshot my windows has a issue displaying the closing button. I am thinking that a font is missing. Do you know which font i have to install?
After following a step-by-step suggestion by
http://www.withsteps.com/3483/windows-10-pro-default-fonts-download.html
I have been able to install all default windows 10 fonts.
The missing windows 10 font was also included.
Finally, to solve this problem you need to download a package with all windows 10 fonts and reinstall every one.
Hi I got a lil problem with a mobile handheld computer (Motorola MC9200) running Windows CE 7.0.
Within the browser (Internet Explorer + software like Naurtech CETerm) there is some font-smoothing or cleartype. Problem about that is that , and font with a css style of font-weight 900 for example look exactly the same as normal font. So you can't tell the difference.
Another problem would be the panning. I'm running a fullscreen web application and the user shouldn't be able to pan the whole screen 1 cm out. Funny thing is while the user is panning the whole picture the font-smoothing/cleartype is disabled and you can tell the difference between font-weights.
Anyone no a solution to that? I already searched the registry for cleartype and font but didn't find anything helpful. I don't have other WinCE 7.0 devices so I don't know if that problem is WinCE 7.0 related or related to the device.
I don't have a device at hand, but WEC 7.0 offers the SystemParametersInfo function that sounds a bit like what you're after.
Call it with uiAction set to SPI_SETFONTSMOOTHING to disable ClearType on a system-wide basis:
SystemParametersInfo(SPI_SETFONTSMOOTHING, FALSE, NULL, SPIF_SENDCHANGE);
Earlier versions of Windows CE had a registry setting to allow OEM's to disable ClearType, but I've been unable to locate this setting in WEC 7.0, so my guess is it's no longer supported and ClearType is always enabled by default.
I've read the tutorials and related questions here but still no luck using a custom font.
I'm on a Windows 7 machine and I've performed the following steps:
Installed the Font (Print Clearly OT.otf)
Copied the otf file to the project directory (same directory as the main.lua)
Restarted the Corona simulator
Used this code to find the font name (Print Clearly OT) and add the build settings: http://coronalabs.com/blog/2013/01/16/faq-wednesday-custom-fonts/
Trying to use the font like:
lettertext = display.newText( "a", 40, 20, "Print Clearly OT", 24 )
Start up the simulator for ipad and I get "could not load font" message.
There was a comment on the link tutorial above, about otf files not working on windows but i assumed that was on a windows mobile device not in the ipad simulator on a windows system.
OTF fonts are not supported in Windows (like you can read at the link you provided) but you could use a ttf version of "Print Clearly OT" font, ttf fonts are supported in all systems.
The other solution is develop with a mac machine, Corona simulator will work better in this case but this solution is really expensive.
Corona SDK also uses the "Internal Font Name". The internal name could be different than the file name and the display name. It might be PrintClearly-Regular or something like that.
But likely it's the OTF's don't work on Windows.
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.
I have a vb.net Windows Forms app using the 4.0 framework. When I run the application on an XP machine, the color of my controls all match what the are set to in my IDE, which is also an XP machine.
When I run this application on a Windows 7 machine, the colors are all changed.
Any ideas why this is and how I can make Windows 7 match my Development machine?
David
Windows forms are going to take on whatever "theme" the machine they are running on has enabled - which is by design. Honestly, it wouldn't make sense for a windows form running on Windows 7 to look like an XP windows form. Could you give some sort of context for why you want your windows form to look like it's always running on XP?
You can use the BackColor property of the button to change the background color. The ForeColor property will change the text color.
Edit: added the below after playing around some.
Try ensuring the "UseVisualStyleBackColor" property on your button is set to False. Playing around I noticed that when this is true, the system ignores my background color selection and uses the machine default. When False, my background color was used.
I found this too. My VB6 project was fine in Windows XP.
I just moved to Windows 7 and copied the project folder to this machine.
My splashscreen backcolour was supposed to be white but it was black now.
The backcolour had been set to &H80000009& which was white in winXP but in Windows 7 it gives black.
So I changed backcolour to &H80000005& and it is now white again.