How to apply bold + italic rich text formatting in XLIFF - localization

I see that XLIFF specification allows applying rich text formatting, and it even provides examples using xlf:b (bold) and xlf:i (italic). So that it can be used like this:
<source>A line of text in<pc type="fmt" subType="xlf:b">paragraph</pc>.</source>
What I can't find is how to correctly apply both bold and italic at the same time?
Any help greatly appeciated.

Related

Is there a way to make text italic with Python-Fu for GIMP?

My script changes text in a text layer, but doing that changes the text from italic to normal text. Is there a way to not make it change; or to change it back afterwards?
I looked in the command browser in gimp but only found commands to change the font itself. I couldn't find a way to pass any additional formatting, but maybe I missed something.. Any ideas?
Gimp has no notion of "Italic" or "Bold" font attributes. Fonts usually have several variants that appear "italic" (such as Latin Modern Sans Oblique or Latin Modern Roman Slanted) or "bold" with various degrees (Noto Sans goes form Noto Sans Thin to Noto Sans Heavy, with intermediate Semi-bold,Bold, and Ultra-bold variants. But it's all in the name.

How to underline words after spell check using Delphi

I'm trying to develop a text editor with spell checker capability. I can detect erroneous words successfully.
Many text editors underline (red color) the erroneous words like this.
How can I underline any word this way? Any TMemo, TRichEdit or TSynEdit solution is acceptable.

RTF Text on TRichEdit - Delphi 2010

Good morning all.
I have a question about handle of TRichEdit.
In a TRichEdit I have a text with several riched formats (Bold, Italic, Underline) like this:
Can I have the possibility of know the style of each character in the Edit, for instance, the first 's' has no format, the first 'r' has a bold format, the second 'a' has italic format, and the fourth 'a' has underline format?
The purpose of this question is for convert this text to HTML tags. I tried many functions on Internet and no one works for me.
I appreciate your help so much.

Is there a simple way to create an NSAttributedString using markup on iOS?

I would simply to add bold or italic to portions of my text. Is there some built in parse that makes this simple, as most the examples I've seen show about a page worth of code, which requires doing substring range calculations on the string. Ideally, I could do something like this:
label.attributedText = [NSAttributedString initWithXXX:#"Some **bold** and *italic text*"];
https://github.com/Cocoanetics/DTCoreText supports all the markup you can think of ^^
even css to NSAttributedString is possible.
See the attached Examples. It works fine with UIKit
MGPushParser in MGBoxKit supports this for bold, italics, underlining, and monospacing, and coloured text.
"**bold**, //italics//, __underlined__, `monospaced`, and {#0000FF|blue}"

sifr3 multiple font faces in one .swf? for fonts that don't have bold or italic weights?

I have a font which only has a regular weight… I’d like to use another font as the bold weight and another as the italic weight… and have sifr use the extra fonts as a replacement based on strong and or b tags
I’ve tried embedding the multiple fonts in the .swf but only the regular weight get’s applied when sifr is activated. If I have two separate .swf font files I can the text to generate in either font but can't seem to apply the bold version to the bold text in the sentence.
Is their a smarter way to do this? using sifr3 - r436 with CS3 Flash Professional to create the font files
Okay after an hour os do googling various terms I found this
http://discuss.joyent.com/viewtopic.php?id=24567
which answers my question - I now have the whole family embedded as I need
Thanks
R

Resources