Project

General

Profile

Actions

Bug #17046

closed

Umlauts not working in GIFBUILDER with php5

Added by Lukas Kull over 17 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2007-02-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When GIFBUILDER is used with php5, umlauts are not rendered. Instead the umlaut and the following character are replaced with a gap.

Bug present on:
php 5.1.6
typo3 4.1 RC1, 4.1 RC2, 4.0.4
all TTF fonts

Typoscript template setup:

#Set DocType to XHTML Strict
config.doctype = xhtml_strict
#XHTML Cleaning
config.xhtml_cleaning = all

###############################################
  1. Language Configuration ##############################################

config.sys_language_mode = content_fallback
config.sys_language_overlay = hideNonTranslated

  1. Default language German
    config.sys_language_uid = 0
    config.language = de
    #config.locale_all = de_DE
    config.locale_all = de_CH.ISO8859-1
    date_stdWrap.strftime = %d. %B %Y
    time_stdWrap.strftime= %H:%M

###############################################

  1. Variable for language selection
    config.linkVars = L
###############################################
  1. Definition of additional languages
  1. German, sys_language.uid = 0
    [globalVar = GP:L = 0]
    config.sys_language_uid = 0
    config.language = de
    #config.locale_all = de_DE
    config.locale_all = de_CH.ISO8859-1
    date_stdWrap.strftime = %d. %B %Y
    time_stdWrap.strftime= %H:%M
    [global]
  1. French, sys_language.uid = 1
    [globalVar = GP:L = 1]
    config.sys_language_uid = 1
    config.language = fr
    config.locale_all = fr_FR
    #date_stdWrap.strftime = %d. %B %Y
    #time_stdWrap.strftime= %I:%M %p
    [global]
  1. English, sys_language.uid = 2
    [globalVar = GP:L = 2]
    config.sys_language_uid = 2
    config.language = en
    config.locale_all = en_GB
    #date_stdWrap.strftime = %d of %B %Y
    #time_stdWrap.strftime= %I:%M %p
    [global]
  1. END OF LANGUAGE SETTINGS ##################
page = PAGE
page.typeNum = 0
page.10 = USER
page.10.userFunc = tx_templavoila_pi1->main_page
  1. Prevent IE from messing up the layout
    page.config.xmlprologue = none
lib.pageTitle = IMAGE
lib.pageTitle.file = GIFBUILDER
lib.pageTitle.file {
backColor = #ffffff
XY = [10.w]+10,35
transparentBackground = 1
10 = TEXT
10.text.data = page:title
10.fontColor = #c622b7
  1. doesn't matter which ttf font
    10.fontFile = fileadmin/templates/main/files/Futura-Bold.ttf # shift 1px to right for transparentBackground
    10.offset = 1,27
    10.fontSize = 30
    }

localconf.php Configuration

$TYPO3_CONF_VARS['SYS']['sitename'] = 'New TYPO3 site';

$TYPO3_CONF_VARS['EXT']['extList'] = 'tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ceditor,tstemplate_in
fo,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,aboutmodules,setup,taskcen
ter,info_pagetsconfig,viewpage,rtehtmlarea,css_styled_content,t3skin';

$typo_db_extTableDef_script = 'extTables.php';

  1. INSTALL SCRIPT EDIT POINT TOKEN - all lines after this points may be changed by the install script!

$typo_db_host = 'localhost'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['compat_version'] = '4.1'; // Modified or inserted by TYPO3 Install Tool.
$typo_db = 'ggsccs'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['gdlib_2'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_path'] = '/usr/bin/'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_version_5'] = 'im6'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_negate_mask'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_imvMaskState'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_no_effects'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_mask_temp_ext_gif'] = '1'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['im_combine_filename'] = 'composite'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['jpg_quality'] = '85'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['GFX']['TTFdpi'] = '96'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['sitename'] = 'GGS CCS'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['SYS']['ddmmyy'] = 'd.m.y'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['EXT']['noEdit'] = '0'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['BE']['sessionTimeout'] = '14400'; // Modified or inserted by TYPO3 Install Tool.
$TYPO3_CONF_VARS['FE']['logfile_dir'] = 'logs/'; // Modified or inserted by TYPO3 Install Tool.
// Updated by TYPO3 Install Tool 29-01-2007 20:00:05
$TYPO3_CONF_VARS['EXT']['extList'] = 'css_styled_content,tsconfig_help,context_help,extra_page_cm_options,impexp,sys_note,tstemplate,tstemplate_ce
ditor,tstemplate_info,tstemplate_objbrowser,tstemplate_analyzer,func_wizards,wizard_crpages,wizard_sortpages,lowlevel,install,belog,beuser,aboutmo
dules,setup,taskcenter,info_pagetsconfig,viewpage,rtehtmlarea,t3skin,static_info_tables,templavoila,realurl,cc_awstats,phpmyadmin,kickstarter,even
tlist'; // Modified or inserted by TYPO3 Extension Manager.
$TYPO3_CONF_VARS['EXT']['extConf']['templavoila'] = 'a:1:{s:7:"enable.";a:1:{s:13:"oldPageModule";s:1:"0";}}'; // Modified or inserted by TYPO3
Extension Manager.
// Updated by TYPO3 Extension Manager 05-02-2007 21:22:34

(issue imported from #M5078)


Files

php4.html (37.9 KB) php4.html Administrator Admin, 2007-02-28 02:35
php5.html (54.9 KB) php5.html Administrator Admin, 2007-02-28 02:35

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #16759: incorrect rendering of umlauts with opentype fonts...ClosedSteffen Gebert2006-12-04

Actions
Related to TYPO3 Core - Feature #19326: Render text with TrueType font: Add some special chars to the test textRejected2008-09-15

Actions
Actions

Also available in: Atom PDF