[TYPO3-english] gifbuilder and trademark symbols
simon at seethroughweb.com
Sat May 26 22:18:43 CEST 2012
Thank you for replying.
The problem is solved - turns out it wasn't a TYPO3 problem at all, the
fonts selected didn't have the trademark characters in its character
set. As usual I thought to check this about 1 minute after posting.
For reference, the code we're using is below:
lib.stdheader.10.5 = IMAGE
lib.stdheader.10.5.file = GIFBUILDER
XY = 200,[10.h]+[20.h] +[30.h] + 35
10 = TEXT
10.text.current = 1
10.offset = 0,21
10.fontColor = #232323
# 10.fontFile = fileadmin/templates/fonts/WMR____.PFB
10.fontFile = fileadmin/templates/fonts/arial.ttf
10.transparentBackground = 0
10.niceText = 0
20 < .10
30 < .10
On 12-05-26 4:02 PM, Jigal van Hemert wrote:
> On 26-5-2012 20:25, Simon Browning wrote:
>> Is it possible to have the gifbuilder render trademark symbols (the TM
>> or R)? We're replacing one of the stdheaders with a graphic, and I've
>> spent a couple of hours trying to get the symbols to show up, but can't
>> seem to make it happen.
> This is a bit vague description. Any code?
> There is a known bug in PHP's GD library with OpenType fonts which
> renders utf-8 characters incorrectly. With one of my OpenType fonts the
> (R) symbol is displayed as fi-ligature and the TM symbol is displayed as
> a [X].
> With TrueType and Type1 fonts the symbols, diacriticals, etc. are
> displayed correctly. As far as I could determine this has to do with the
> JIS-mapped Japanese Font Support. Unfortunately there isn't a workaround.
More information about the TYPO3-english