Get Adobe Flash playerPlugin by wpburn.com wordpress themes
Line breaks in GIFBUILDER
November 27th, 2009

Text rendered through GIFBUILDER can now span several lines if it exceeds a certain width. New properties breakWidth and breakSpace make this possible.

Example:


10 = IMAGE
10 {
   file = GIFBUILDER
   file {
      XY = [20.w]+5,[20.lineHeight]*0.3+[20.h]
      transparentBackground = 1
      # Render regular text
      20 = TEXT
      20 {
         text = This is a long text that will hopefully break automatically...
         breakWidth = 250
         breakSpace = 1.0
         offset = 0,[20.lineHeight]
         niceText = 0
      }
   }
}

More info:
RFC Feature #10666: Integrate automatic line breaks in GIFBUILDER

http://bugs.typo3.org/view.php?id=10666

  • Share/Save/Bookmark

Tags: ,

One Response to “Line breaks in GIFBUILDER”

TYPO3: GIFBUILDER научится выводить многострочный текст | Codeline Says:

[...] язык разработки TYPO3 более гибким. GIFBUILDER научится переносить строчки при необходимости. Тексту можно задачть максимальную ширину (breakWidth), [...]

Leave a Reply