I have a report that needs to be output in either English or French (based on a field value).
I have copied the text from the Word document to the SSRS package, and all French characters show as they should except MD (marque déposée). This should show similar to superscript "MD", but it shows as normal script "MD".
Is there a library of French symbols that I can add, or is there a way to format it so that it "appears" right?
I have tried:
For situations like this unicode superscript characters can come in handy. I copied the unicode for the letters MD from the link into the SSRS report and it worked no problem.
Example:
Unicode:
The MC and MD symbols do appear as single superscript symbols in Unicode, though not necessarily in all fonts, as 1F16A and 1F16B respectively:
🅪
(in English TM trade mark sign)🅫
(in English R registered sign)These symbols are generally used in Canadian French.
Sources:
The symbol does not exist as a separate character (unlike the “™” symbol), so this is essentially a matter of rendering some letters in superscript style. There are several alternatives, with different pros and cons:
<sup>MD</sup>
. Simple, but results in poor rendering: line spacing may get disturbed, and the letters appear as reduced-size capital letters, suffering from reduced stroke width, so they stylistically differ from normal letters.<span class=sup>MD</span>
and style it with CSS, using relative positioning and font size reduction. Avoids some drawbacks of method 1, but not all.ᴹᴰ
. The main problem with them is that not all fonts contain them, and their visual appearance may differ from your expectations – they are really designed for use in phonetic notations rather than normal text.<span class=sup>MD</span>
and style it with font-feature-settings: "sups"
and its browser-prefixed versions, and use OpenType fonts that have superscript glyph variants for letters. This is the theoretically best approach, but currently fails too often (partly due to limited browser support, partly due to lack of such OpenType features in most fonts).If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With