2016-05-04 13 views
0

空のカタログ画像を開き、その上に歪んだ(歪んだ)テキストを適用したいとします。Typo3:GIFBUILDER画像の上にゆがんだテキストを追加

/** 
* Catalog image 
*/ 
lib.catalogImage = IMAGE 
lib.catalogImage { 
    file = GIFBUILDER 
    file { 
     XY = 242,270 
     format = png 
     quality = 80 

     10 = IMAGE 
     10 { 
      file = EXT:theme/Resources/Public/Images/catalog_blank.jpg 
     } 

     15 = IMAGE 
     15 { 
      offset = 20,20 

      file = GIFBUILDER 
      file { 
       XY = 150,50 

       10 = TEXT 
       10 { 
        text = Datenblatt 
        fontSize = 12 
        offset = 28,110 
        fontColor = black 
        niceText = 1 
       } 

       20 = SCALE 
       20 { 
        params = -matte -virtual-pixel transparent -distort Perspective '0,0,0,0 0,90,0,90 90,0,90,25 90,90,90,65' 
       } 
      } 
     } 
    } 
} 

問題がある、私は常にテキストボックスは白を取得、その中にテキストなしで: 私はこのTypoScriptのスニペットを持っています。 私は何が間違っていますか?

ブランクカタログ画像:

enter image description here

結果画像:

enter image description here

EDIT:

:私も追加しようとした

文書(https://docs.typo3.org/typo3cms/TyposcriptReference/Gifbuilder/ObjectNames/Index.html)によれば、TEXTオブジェクトには、

niceText.after = -matte -virtual-pixel transparent -distort Perspective '0,0,0,0 0,90,0,90 90,0,90,25 90,90,90,65' 

がありますが、それはまったく考慮されていません。 niceTextはSCALEと仲良くしないように見えます

enter image description here

+0

ちょっとしたヒント:CSSでやってください:) https://24ways.org/2010/intro-to-css-3d-transforms/ – biesior

+0

最終的には、7度で歪んだテキストは見えませんがその良い.. – cili

答えて

0

: 結果がこれです。 niceTextが削除され、テキストが正しく表示されるようになりました。

関連する問題