Can we use one swf movie to show font in normal , bold and Italic in sifr 3? - sifr

Can we use one swf movie to show font in normal , bold and Italic on a html page in sifr 3?

Yes. Just make sure to embed all variants and to properly set the font-weight and font-style properties.

Related

iOS Font looks different in UILabel and UIWebview

Hi I am making an arabic supported app. I am using custom fonts for arabic. ArabicTypeSetting. The fonts appear right but only the problem is the text appearing in UIWebView looks like broken but in UILabel it's appearing fine. In this image the top one is UILabel and below is UIWebView? I have checked HTML and the fonts are exactly same there but appear broken in UIWebView in app.
It's look like the part of the text has bold style. If your font not support bold style, web-kit will render this like on your screen.

make a custom font bold

I have a custom font (poiret) that doesn't have bold type. I would like to use it in my application as bold. In android Typeface.BOLD makes so-called virtual bold typeface. Is there any way to make it bold in xcode?
Thanks in advance.
You can't make Custom font BOLD. Instead, You have to download its bold-versionand use that in your View. Only system fonts can be styled to BOLD

Custom font as fallback font for missing glyphs

I'm currently working on an app which displays some funky characters. They are proper unicode characters There is no system font that contains these glyphs on iOS, so I made a custom font that contains only these glyphs.
Now, I don't want to replace the system font with my custom font, but I want to have iOS load any missing glyphs from my custom font. Can iOS fallback to custom fonts?
Hopefully, you've gotten a reply by now, but the only way this is possible by using a custom font, is to have customise a "normal" fonts non-letter characters by replacing characters like U+2615 (Hot beverage) with your custom glyphs. Thus, you can use your custom font for all your UI, but you would need different characters than you use now to display your custom glyphs

MS Word hyperlink font format bug?

I have problem with hyperlink font format in word 2003/2007 maybe it is in other too but i didn't try it.
First i create hyperlink in my document, then i change format of hyperlinks in
Styles and Formatting
for example: Bold, Italic size: 10, font: Webdings. Everything is ok, format is changed.
Problem happens when i add next hyperlink through ctrl + k (or insert hyperlink it doesnt matter). It accepts the most of format. It is Bold, Italic, even change color works, but font always stays as Times New Roman 12.
when i change format of hyperlink after this, the first hyperlink is ok. Changed color, styles an font. The others that were added later changes their color, style but not font. It is still Times new Roman 12.
When i select them they are style of hyperlink. When i set them as style hyperlink again (e.g. with enter), then they change its font to webdings too, but i need to accept this font without this, because i want to generate document with visual basic from template, and hyperlinks that are already in template accept new font in template but hyperlinks added with VB doesnt accept new font. And always select added hyperlink and set its type to hyperlink again ... it seams a bit wierd to me...
Does anybody know solution for this problem? i am trying to google it for two days and without success...
Edit: I found out right now, that it doesn't set format Times new roman 12, but it set the same format as it is set in Normal font. But format is shown to be set to hyperlink not to Normal. but again when i changed normal format it doesnt accept change to allready created hyperlinks, but only accept it to new one... i dont know but i have feel that it works really wierd and all this rules doesnt apply everytime...

Special characters not displaying, sifr r436

I followed the explanation on the sIFR wiki, but can't seem to get accented characters to display in my Flash movie. I opened up the Character Embedding palette, pasted "ÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ" into the "Include these characters" field after the ampersand, hit "OK", then re-exported the .SWF.
The characters still don't render in my sIFR file--any suggestions? I'm running r436.
have you tried checking the 'Basic Latin' or 'Latin I' boxes (just for sanity check?)
I've just looked through mine and I use 'Latin I'.
could be that the encoding between the webpage/javascript and flash isn't picking up the special chars - have you debugged your javascript to see what's being passed in?
[edit] what is the webpage encoding set to?[/edit]
Perhaps the font you're using just doesn't include those characters? Frequently, fonts will support just ascii.
As jeremy said, the major issue i've seen with sifr and charecters is that special charecters aren't part of the font you are using.
One way to test is run your current method with another standard font such as arial, if it works then it's probably down to your font.
What font is it?
Secondly when making the font glyphs inside flash you have to change the settings to include any foreign characters to insure they are within the font flash movie. most none standard characters are removed as it keeps the file size of the swf font file down.
Unicode escape sequences?
or maybe check a url encode chart
when you view the generated source (below) you'll see that the chars are being encoded by javascript...
content=This%2520is%2520an%2520embedding%2520test%253A%253Cbr%253E%25C3%25C4%25C5%25C6%25C7%25C8%25C9%25CA%25CB%25CC%25CD%25CE%25CF
can you switch on HTML on the text field to see if they show up?
Checking Latin I was mentioned, what about Latin Extended A, Extended B and Add'l? Cmd+clicking Punctuation, Basic Latin, plus all of the other Latin options may get you your missing characters.
I suspect its a problem with Flash. If I go to your example page (http://unstoppablerobotninja.com/demos/sifr-encode/), right-click on the Flash movie, and copy to the clipboard, this is the output:
This is an embedding test:
ÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿ
Did it work?
Which to me indicates that the characters are ending up just fine in the Flash movie, but they're not being rendered.
Can Flash render these characters if you use static publishing for some other Flash movie?
I have the same problem with a dynamic text field not rendering special characters, despite the field being set up correctly and the specific characters required being embedded in the field.
I noticed that HTML source text which is formatted to appear as Bold (i.e. using tags) creates this problem - the same text without Bold results in the special chars being rendered correctly (although obviously not in Bold :)
I tried various things including using the unicode reference and exporting the Bold variant of the font (Verdana) but nothing helps, so I think it's a Flash bug.
Of course, knowing this doesn't solve the problem if you need to use a Bold font, like I do - I'm still looking for solutions and will post back if I find something.
Good luck ;)
Solving the Bold issue is easy. Special characters not appearing is another problem entirely and one in which we are encountering currently.
Here's the deal with bold (and italic):
If you use bold or italic tags in the HTML, Flash has not necessarily embedded the bold and italic version of the font. What you have to do is create some hidden dynamic text fields that have the bold and italic versions of the font embedded. These hidden text fields can be placed in a frame past the end of the timeline so that they don't appear at runtime.
A related problem is when you click the B (for bold) in the properties panel and insert HTML text into the textfield without a <b> tag. Flash will embed the bold font into the SWF, but if you don't insert the <b> tag in your text, Flash will render it with a non-bold font (which won't appear because it wasn't embedded).
Unfortunately, we have a situation where a dynamic text field was created with one font, and if we change it to any other font, it doesn't render. Special characters, such as the ® symbol, don't render, even though they are embedded in the font.
This is with Flash CS3 and AS2.

Resources