Hi All,
By using CMFCPropertyGridProperty::GetValue I'm able to get the contents of the property grid.
I have one property though that gets the font, where when you click on it, shows a dialog box to select the font, size and style.
Using this code:
CMFCPropertyGridProperty* pCurSel = m_wndPropList.GetCurSel();
CString test = pCurSe...
What is the best text-block to use to test out programming fonts and syntax highlighting?
...
I want to use custom font in an iPhone application. I have already two file 'font suitcase' and its supported file 'postscript type 1 '. I am using like this:
NSString *fontPath = [[NSBundle mainBundle] pathForResource:@"Myfont" ofType:nil];
if( fontPath == nil )
{
return;
}
CGDataProviderRef fontDataProvider = CGDataProviderCreateWith...
I'm trying to measure the visual size of a NSString that takes into account the number of lines I can render. However, sizeWithFont doesn't take into account numberOfLines property? So my layout algorithm positions everything lower than they actually need to be.
_price = [[UILabel alloc] init];
_price.text = myPriceValue;
_price.lineBre...
Programmers often fall back on monospace font variants for legibility, however some programmers blogs I read are starting to laud variable width fonts.
It seems to me that the best of both worlds would be a font where all character widths are small multiples of the space width (so M might be three or four spaces)
Does anyone know if s...
I have Helvetica installed on my Windows XP PC, which is great for designing, but Helvetica looks horrendous when displayed in a browser on PC.
EG If I visit a website with this style:
font-family: Helvetica, Arial, sans-serif;
...Helvetica is displayed, as it is installed on my system.
Can I force Firefox to pretend Helvetica isn'...
I am writing program in gdi+ c++.
how can I know two Font* p1, Font* p2 are the same.
p1 and p2 are points of different address.
p1 p2 point to different object:)
...
I want to provide a feature on my website to let users increase and decrease the font size by clicking on some stuff (like + and - image etc). However I also want:
make sure that when the font size is increased, my website layout doesn't get messed up
test the scenario out on my machine to make sure about the point above
I think what...
I am working on my captcha image script, I know the fonts I use are stored on the server end but I am wondering for a high traffic site, does the font size (like kb and mb not dimensions) does it make a difference on the server? Some font's I was messing with are like 4-5mb and then some are under 1mb, is it better to use the smallest ...
I have heard some terms about linux fonts,such as XFT, fontconfig etc.I just cann't figure out these mumble jumbo.Is there any good tutorial/article about fonts in linux?or fonts in general in the computer science.Thanks.
...
While there are ways to load fonts as swf files, what I am more looking at is a way to load the font file itself, say the user uploads a font file , how can i use that font file in the application itself?
Thanks,
Faisal Abid
...
I installed the latest release of MinGW/MSYS, and I like to use rxvt terminal over the boring windows command prompt. But this new build spaces the letters too much: most fonts I have tried are messed up - even Courier New (ttf), Consolas (ttf), or PC6X13 (fon).
I'm stuck with plain OLD Courier because at least it's readable. Any solut...
Im looking for a way to present a flexible font, that will increase and decrease in size according to to the size of the screen resolution. I want to be able to do this without the HTML window class. Is there a way? I thought I've done quite a bit of googling without success.
EDIT
This seems a good question, I changed the title to r...
Hi All,
I have a property grid on the right side of my app. By clicking on a tree item on the left side, properties of the clicked item are shown on the right side. However, whenever I change the value on the property grid control, the items turn in BOLD format and I get an error pointing to line 154 of MFC's afxpropertygridtooltipctrl....
Hello, i would like to know how to use two embedded fonts in Flex in tag
i am dynamically loading rss description into it and would like to have first character and characters unsupported by other font be in that first font. i limited the range of char of that second font so all unsupported chars and first char should be in that first f...
For a flex datagrid :
How do I have different fonts for a column header
and the text in the corresponding cells?
...
We have an application that used the C++ zApp framework for UI (forms, fonts, everything). We have slowly converted it to use the .net framework and recently found that Greek characters are no longer displaying correctly.
In one version of the application I have a C# .net form and a C++ zApp form that both display the same data. The p...
I see this from source code of a web site:
<font size="-2">@2009 </font>
What does it mean when size is negative?
...
At work, I have been tasked with improving the text rendering of our application to better support text character kerning. Our application generates images that appear on Television, so image quality is paramount. Therefore, even small improvements to the appearance of any output we generate is very useful.
Our current text engine is im...
I have some Swing code (written in 1.6 for 1.6) that specifically sets the font in a text area to Courier, but on some Windows systems, this shows up as Arial (the system default?) instead. Does that mean a font is missing from the system? What is the behavior Java has when it can't find a font it is looking for? Does it complain? Do...