Illustrator SDK :: Not Able To Get Font Style For Some Fonts
Aug 13, 2012
I am getting font style(like regular, bold, italic etc) like this-
Â
while (count < fontCount) {//loop , which iterate throgh used fonts.
                                                 ATE::IFont currentFont = fontRefArray.Item(count);
                                                 if (!currentFont.IsNull()) {
                                                           FontRef fontRef = currentFont.GetRef();
                                                           AIFontKey fontKey = NULL;
                                                           result = sAIFont->FontKeyFromFont(fontRef, &fontKey);
                                                           result = sAIFont->GetUserFontName(fontKey, fontname, 50);
                                                           result = sAIFont->GetPostScriptFontName(fontKey, psname, 50);
                                                           result = sAIFont->GetFontStyleName(fontKey, stylename, 50);
                                                           result = sAIFont->GetFontFamilyUIName(fontKey, familyname, 50);
}
Â
For some fonts(not all the fonts) , Style name is comming as empty string, however for other fonts its working. Not sure why its working for some fonts and not for others. Other font properties are coming fine for all fonts.When its failing, result is not kNoErr, but i dont know that how to get the exact error?
I have a Mac on 10.7 running cs6 Illustrator. I have been able to load fonts into Font Book but when opening the document I get the error below. This is only happening on one mac out of 6 that use this font. I have tried fixing permissions and clearing the font cash.
I have installed some new fonts in my windows font folder, but they are not showing up in illustrator. I am using a cloud version of illustrator and have tried closing and restarting to no avail.
I am working with font "not a free one" and it has a problem that I can not take its style with the eye dropper, Â it only gives the same font name but the shape of font did not applied
Basically, I've tried downloading fonts to windows, but Photoshop couldn't pick them up, and I'm wondering if there's an easier way to do it. Haven't found any answers in the forums as most people don't seem to have 7.0 ME.Â
I am having trouble importing a tt text style called neuropol into my autocad LT 2009 fonts  I have done this before using windows xp os.I have a new computer using windows 7 and cant get it.I have the new text style on my desktop and have tried to drag it but no luck I have tried to import the file as well but no luck  it looks like it doesn't like dgn files or ?
Using windows 7 OS. from start> open control panel>fonts. For example: "AdobeFanHeitiStd-Bold.otf" is in fonts folder, but does not show up in photoshop list of fonts in "character" panel. what can i do to show all fonts in the charater panel list?
how to display fonts (in the font drop-down on the text tool options bar) in their own font. For example, I'd like to see the word "Arial" displayed in Arial style in this drop-down list. I'm using 7.0.
How do you get more fonts to add to the font config? I want to make someimages with cool font but don't know where to find them. This is where I found out about fontconfig [URL]...
Im looking for some block style numbers for race cars. What fonts do you recommend or what websites do you recommend me to look at? I do a lot of graphics for race cars, go karts, dirt bikes etc. so im looking for some numbers that will really stand out and look good.
I've been using PS for decades. What as always confounded me over this time is the lack of "favorites" or recently used fonts in PS. I can't believe the developers of PS havn't figured this out. It's a royal P.I.T.A to have to wade through hundreds of fonts every time. Â Can we finally get this incorporated!
I manually cancelled tons fo fonts that I previously installed in Windows/Fonts folder but Photoshop CS4 still shows the font names in the font list and I can't get rid of them..What should I do to have only available fonts in the list? Now available fonts are shown with name and sample, missing fonts just have names (it obviously can't preview them because they are not in the font folder)...
I have linotype and i often type things in and scroll thru to see what font looks best. However, There are are a lot of fonts that are not available to PS cs5. Some of these fonts have Adobe at the design of their manes. They did not exist previous to me installing PS so i figure these are specifically made by Adobe fonts.  So why are these fonts not available in PS? Do i need a better font manager?
I have a lot of fonts, but I only enable about 30 fonts at a time using Font Book. However, ALL 1000+ of my fonts still appear in the pull down menu in Photoshop. This causes my system to slow down and Photoshop to crawl. Â Dumping my font caches is not working. This problem seems to happen a lot and at random times. This affects ONLY Adobe products (Photoshop, InDesign, Illustrator). All my other programs work well with Font Book. Â Specs: Photoshop CS3 Font Book ver 2.2.2 OS 10.6.8Â (20" iMac) Upgrading to newer OS is NOT an option. Â Dumped all AdoneFnt*.lst files and restarted. Restarted in safe mode. Checked all fonts for corruption (all are perfect). Tried FontNuke.app
When I click on the Font Navigator icon, the window opens, but there are no fonts anywhere.......it's empty !! When I click on View All Fonts, nothing happens .  How do I get my installed fonts to show up in my Font Navigator?
for some reason, all of a sudden photoshop wont display any available fonts in my font list beyond the begining of the letter m. i have tons of fonts. not all of them are turned on. ones that are turned on though and that i have been using up to this point regularly are not accessable now.
identify the font that has been used in a logo but can't load it up here.  [ admin says: don't put your email address on a public forum, unless you really, really like SPAM ]
how to achieve the styling that the matrix font has using other fonts? i know that there's a downloadable version of the actual font Miltown (and a Miltown II as an alternate version), but what i'd like to do is take a source font (presumably the font that Miltown started from) and give it the random offset/winded line effect that the matrix font has. once i know how to do this for at least one font i'd be able to apply this effect to other objects (not just text objects).