473,396 Members | 1,756 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Heavy unicode supported monospace font?

Hi,

I'm in need for a monospace font to be used in a .net application able to
write subscripts numbers like in CO2 and H2O. Any suggestions on a suitable
font?

I use this syntax,
textbox.Text = String.Format("\u2082\u2083\u2084").ToString();
is this correct?

thanx
Jesper, DK
Nov 16 '05 #1
1 3551
Jesper wrote:
Hi,

I'm in need for a monospace font to be used in a .net application
able to write subscripts numbers like in CO2 and H2O. Any suggestions
on a suitable font?

You can use <sub> and <sup> tags in html. I don't know how they
combine with monospace fonts though ..
I use this syntax,
textbox.Text = String.Format("\u2082\u2083\u2084").ToString();
is this correct?

It seems a bit overkill:
- you supply a fixed string to String.Format, so why use String.Format?
- then you convert the string output to string

wouln't this be simpler:
textbox.Text = "\u2082\u2083\u2084";

Hans Kesting
thanx
Jesper, DK

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Auric__ | last post by:
I need to copy some Unicode text to the Clipboard, but it ain't happening. :/ If there's no equivalent in VB, what's the API call? -- auric "underscore" "underscore" "at" hotmail "dot" com...
2
by: Greg Ercolano | last post by:
I'm trying to make a SELECT form that contains monospaced text where the headings and columns in the text align. Here's the HTML I've been using that seems to work on all browsers /except/...
1
by: Joerg | last post by:
I am in the process of creating an international GUI application with C# on ..NET1.1 (Win2k), which is supposed to implement a particular look/design. In order to achieve this, I plan amongst...
1
by: Gary | last post by:
I am wondering if .net2 has a handy function to return supported unicode ranges for given font file. I knew GetFontUnicodeRanges() API can do that. But any way to do it directly in managed code? ...
3
by: pratik.best | last post by:
Hi, I just seen the web site of the unicode committee and was amazed to see the site showing document in Hindi without using any such fonts like "Kruti Dev" or "Dev Lys". "Webdunia.com" is also...
1
by: panMagically | last post by:
I need to produce bitmap files of each individual characters supported by a certain Asian font. Therefore, I am in need of looping through all the unicode support by a font. Usually when a...
2
by: =?Utf-8?B?UmljaA==?= | last post by:
I just got a new workstation - which I had to reload VS2005 (myself). On my old workstation - the VS2005 supported unicode chars in the text of controls. On the new workstation - I just get the...
16
by: Laszlo Nagy | last post by:
I need to create multi lingual invoices from reportlab. I think it is possible to use UTF 8 strings but there is a problem with the font. I could not find any free TTF font that can do latin1,...
8
by: miztaken | last post by:
Hi, I have a string with some unicode characters and when i tried to displayed it in TreeView its not displaying. I am doing like this: TreeNode tn = new TreeNode("unicodestring");...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.