8
Answers

Help me to make the following label control

Rajesh Pandey

Rajesh Pandey

13y
2.3k
1
Dear Sir,
 
I have make the application in which i add a label control and change its font then write some text in its text property. This application runs successfully in my computer because that font is installed in my computer but when running this application in other computer in which that font is not installed the text is change into the default font but i want to make the application which font does not changes even if that font is not installed in computer.(example I want to write the label text into hindi language even if the hindi font is not installed.)
Please help me to how can i acheive this please send me code as soon as possible.
Answers (8)
0
Prabhu Raja

Prabhu Raja

NA 4.7k 1.5m 13y
hi rajesh, Follow this Source Code..


http://www.bobpowell.net/embedfonts.htm
0
Satish Bhat

Satish Bhat

NA 1.6k 4.5k 13y
If it is a windows forms. REF1 and REF2 
0
Rajesh Pandey

Rajesh Pandey

NA 12 8.1k 13y
I want to build windows application so just tell me that how can i write the button text in Hindi thats my main question
0
Satish Bhat

Satish Bhat

NA 1.6k 4.5k 13y
It is possible to embed fonts for IE6, IE7, IE8, FireFox 3.5+ (PC & Mac), Safari (PC & Mac) and Opera 10 and other newer browsers

Please read this
0
Prabhu Raja

Prabhu Raja

NA 4.7k 1.5m 13y
Hi Rajesh, I have posted an article regarding to this Situation. Also i gave C# code in my article. It will suite to your need. I gave the Link to you soon.
0
Rajesh Pandey

Rajesh Pandey

NA 12 8.1k 13y
I have seen many software in which the label text is written in Nepali or hindi but runs successfully in my computer in the absence if Hindi or Nepali font then how to achieve this.
0
Abhishek Bhat

Abhishek Bhat

NA 1.7k 354.5k 13y
You can add a new font irrespective of whether application is window or web. Go through the following links : For WPF - http://msdn.microsoft.com/en-us/library/system.numerics.biginteger.aspx For ASP.Net - http://www.daniweb.com/web-development/aspnet/threads/231795
0
Prabhu Raja

Prabhu Raja

NA 4.7k 1.5m 13y
Hi Rajesh,

The font-Compatibility is not machine In-dependent . The fonts we used in our applications must be installed in computer. But you can provide the fonts used in the application as a part of installation.

But we have other Choice, that Windows and web development provides a property to solve this issue. The Property is Font-Names Property.

asp:TextBox Font-Names="Verdana,Tahoma,Arial"
Text="Size Test" ID="txt" runat="server" />

Here, the browser will use the Verdana font (if it has it). If not, it will fall back on Tahoma or, if that isn't present, Arial.

When specifying fonts, it's a good idea to end with one of the following fonts, which are supported on all browsers:

Times
Arial and Helvetica
Courier

The following fonts are found on almost all Windows and Mac computers, but not necessarily on other operating systems like Unix:

Verdana
Georgia
Tahoma
Comic Sans
Arial Black
Impact                    


if this reply helps you, then click "This is Correct answer"