Ticket #6004: osd.xml.rtl.v3.patch

File osd.xml.rtl.v3.patch, 22.6 KB (added by kolevtony@…, 17 years ago)

More fixes of rtl texts falling out of right side of buttons in main menu

  • mythtv/libs/libmythtv/libmythtv.pro

    ==== osd.xml.rtl.patch by Tony Arie Kolev   17-Dec-2008
    ==== OSD text of RTL languages fix for text falling out of pop-up box background
    ==== found after RTL text was correctly Justified to Right side (patch ticket #6004)
    ==== 
    ==== to apply store it in top directory of MythTV sources and do:
    ==== patch -p0 < osd.xml.rtl.patch
    ==== 
     
    243243
    244244    # On screen display (video output overlay)
    245245    using_fribidi:DEFINES += USING_FRIBIDI
    246     HEADERS += osd.h                    osdtypes.h
     246    HEADERS += osd.h                    osdtypes.h rtl.h
    247247    HEADERS += osdsurface.h             osdlistbtntype.h
    248248    HEADERS += osdimagecache.h          osdtypeteletext.h
    249249    HEADERS += udpnotify.h
    250     SOURCES += osd.cpp                  osdtypes.cpp
     250    SOURCES += osd.cpp                  osdtypes.cpp rtl.cpp
    251251    SOURCES += osdsurface.cpp           osdlistbtntype.cpp
    252252    SOURCES += osdimagecache.cpp        osdtypeteletext.cpp
    253253    SOURCES += udpnotify.cpp
  • mythtv/libs/libmythtv/osdtypes.h

     
    1212#include <qcolor.h>
    1313#include "cc708window.h"
    1414#include "osdimagecache.h"
     15#include "rtl.h"
    1516
    1617using namespace std;
    1718
     
    238239    void SetButton(bool is_button)      { m_button = is_button;     }
    239240    void SetEntryNum(int entrynum)      { m_entrynum = entrynum;    }
    240241
    241     QString ConvertFromRtoL(const QString &text) const;
    242 
    243     static QString BasicConvertFromRtoL(const QString &text);
    244242
    245243  protected:
    246244    ~OSDTypeText();
     
    292290    mutable uint    m_draw_info_len;
    293291    mutable vector<DrawInfo> m_draw_info;
    294292
    295     mutable QMutex      fribidi_lock;
    296     mutable QTextCodec *codeci;
     293    RTL *rtl;
    297294};
    298295   
    299296class OSDTypeImage : public OSDType
  • mythtv/libs/libmythtv/osdtypes.cpp

     
    1717#include "mythcontext.h"
    1818#include "mythdialogs.h"
    1919
    20 #ifdef USING_FRIBIDI
    21     #include "fribidi/fribidi.h"
    22     #include <qtextcodec.h>
    23 #endif // USING_FRIBIDI
    2420
    2521/// Shared OSD image cache
    2622OSDImageCache OSDTypeImage::c_cache;
     
    707703    m_linespacing(1.5f),
    708704
    709705    m_draw_info_str(""),
    710     m_draw_info_len(0),
    711 
    712     codeci(NULL)
     706    m_draw_info_len(0)
    713707{
     708  rtl=new RTL();
    714709}
    715710
    716711OSDTypeText::OSDTypeText(const OSDTypeText &other) :
     
    745740    m_linespacing(1.5f),
    746741
    747742    m_draw_info_str(""),
    748     m_draw_info_len(0),
     743    m_draw_info_len(0)
    749744
    750     codeci(NULL)
    751745{
    752746    QMutexLocker locker(&other.m_lock);
    753747
     
    779773    m_scrollinit = other.m_scrollinit;
    780774
    781775    m_linespacing = other.m_linespacing;
     776    rtl=new RTL();
    782777}
    783778
    784779OSDTypeText::~OSDTypeText()
    785780{
     781    if (rtl)
     782        delete rtl;
    786783}
    787784
    788785void OSDTypeText::SetAltFont(TTFFont *font)
     
    791786    m_altfont = font;
    792787}
    793788
    794 QString OSDTypeText::BasicConvertFromRtoL(const QString &text)
    795 {
    796     QStringList rtl_string_composer;
    797     bool handle_rtl = false;
    798     QChar prev_char;
    799 
    800     // Handling Right-to-Left languages.
    801     // Left-to-Right languages are not affected.
    802     for (int i = (int)text.length() - 1; i >= 0; i--)
    803     {
    804         QChar::Direction text_dir = text[i].direction();
    805         if (text_dir != QChar::DirR &&
    806             text_dir != QChar::DirRLE &&
    807             text_dir != QChar::DirRLO)
    808         {
    809             if (handle_rtl || rtl_string_composer.empty())
    810                 rtl_string_composer.append(QString());
    811 
    812             if (text[i].isSpace() && !prev_char.isNull()
    813                     && prev_char.isDigit() && handle_rtl)
    814                 rtl_string_composer.back().append(text[i]);
    815             else
    816                 rtl_string_composer.back().prepend(text[i]);
    817 
    818             prev_char = text[i];
    819 
    820             handle_rtl = false;
    821         }
    822         else
    823         {
    824             if (!handle_rtl)
    825             {
    826                 rtl_string_composer.append(QString());
    827                 handle_rtl = true;
    828                 prev_char = QChar();
    829             }
    830             rtl_string_composer.back().append(text[i]);
    831         }
    832     }
    833 
    834     QString output = rtl_string_composer.join("");
    835 
    836     return QDeepCopy<QString>(output);
    837 }
    838 
    839 QString OSDTypeText::ConvertFromRtoL(const QString &text) const
    840 {
    841     QString output = BasicConvertFromRtoL(text);
    842 
    843 #ifdef USING_FRIBIDI
    844     QMutexLocker locker(&fribidi_lock);
    845     if (!codeci)
    846         codeci = QTextCodec::codecForName("utf8");
    847 
    848     if (!codeci)
    849         return output;
    850 
    851     QCString temp = codeci->fromUnicode(output);
    852 
    853     FriBidiCharType base;
    854     size_t len;
    855 
    856     bool fribidi_flip_commas = true;
    857     base = (fribidi_flip_commas) ? FRIBIDI_TYPE_ON : FRIBIDI_TYPE_L;
    858 
    859     const char *ip = temp;
    860     FriBidiChar logical[strlen(ip) + 1], visual[strlen(ip) + 1];
    861 
    862     int char_set_num = fribidi_parse_charset("UTF-8");
    863 
    864     len = fribidi_charset_to_unicode(
    865         (FriBidiCharSet) char_set_num, ip, strlen(ip), logical);
    866 
    867     bool log2vis = fribidi_log2vis(
    868         logical, len, &base, visual, NULL, NULL, NULL); // output
    869 
    870     if (log2vis)
    871         len = fribidi_remove_bidi_marks(visual, len, NULL, NULL, NULL);
    872  
    873     output = "";
    874     for (size_t i = 0; i < len ; i++)
    875         output += QChar(visual[i]);
    876 #endif // USING_FRIBIDI
    877 
    878     return output;
    879 }
    880789
    881790void OSDTypeText::SetText(const QString &text)
    882791{
    883792    QMutexLocker locker(&m_lock);
    884     m_message    = ConvertFromRtoL(text);
     793    m_message    = text;
    885794    m_cursorpos  = m_message.length();
    886795    m_scrollinit = false;
    887796}
     
    895804void OSDTypeText::SetDefaultText(const QString &text)
    896805{
    897806    QMutexLocker locker(&m_lock);
    898     m_message     = ConvertFromRtoL(text);
     807    m_message     = text;
    899808    m_default_msg = QDeepCopy<QString>(m_message);
    900809    m_scrollinit  = false;
    901810}
     
    12191128{
    12201129    QMutexLocker locker(&m_lock);
    12211130
     1131    bool isRTL=false;
     1132    QString msg    = rtl->ConvertFromRtoL(text,&isRTL);
     1133    if (isRTL) m_right=true;
     1134
    12221135    if (m_centered || m_right)
    12231136    {
    12241137        int textlength = 0;
     
    12441157    if ((m_usingalt || m_selected) && m_altfont)
    12451158        font = m_altfont;
    12461159
    1247     font->DrawString(surface, rect.left(), rect.top(), text,
     1160    font->DrawString(surface, rect.left(), rect.top(), msg,
    12481161                     rect.right(), rect.bottom(), alphamod, doubl);
    12491162
    12501163    // draw cursor
  • mythtv/libs/libmythtv/osdlistbtntype.h

     
    3737#include "osdtypes.h"
    3838#include "ttfont.h"
    3939#include "generictree.h"
     40#include "rtl.h"
    4041
    4142class OSDListBtnType;
    4243class OSDListBtnTypeItem;
     
    313314    QRect           m_arrowRect;
    314315    QRect           m_pixmapRect;
    315316    QRect           m_textRect;
     317    RTL            *rtl;
    316318};
    317319
    318320
  • mythtv/libs/libmythtv/osdlistbtntype.cpp

     
    767767    tw -= (m_showArrow) ? m_arrowRect.width()  + margin : 0;
    768768    tw -= (m_pixmap)    ? m_pixmapRect.width() + margin : 0;
    769769    m_textRect = QRect(tx, 0, tw, height);
     770    rtl=new RTL();
    770771
    771772    m_parent->InsertItem(this);
    772773}
     
    774774OSDListBtnTypeItem::~OSDListBtnTypeItem()
    775775{
    776776    if (m_parent)
    777777        m_parent->RemoveItem(this);
     778    if (rtl)
     779        delete rtl;
    778780}
    779781
    780782void OSDListBtnTypeItem::paint(OSDSurface *surface, TTFFont *font,
    781783                               int fade, int maxfade, int x, int y)
     
    828829    QRect tr(m_textRect);
    829830    tr.moveBy(x, y);
    830831    tr.moveBy(0, font->Size() / 4);
    831     font->DrawString(surface, tr.x(), tr.y(), m_text, tr.right(), tr.bottom());
     832    bool isRTL=false;
     833    QString m_message = rtl->ConvertFromRtoL(m_text,&isRTL);
     834    if (isRTL)
     835    {
     836        int textlength = 0;
     837        font->CalcWidth(m_text, &textlength);
     838        int xoffset = tr.width() - textlength;
     839        if (xoffset > 0)
     840            tr.moveBy(xoffset, 0);
     841    }
     842    font->DrawString(surface, tr.x(), tr.y(), m_message, tr.right(), tr.bottom());
    832843}
  • mythtv/libs/libmythtv/rtl.h

     
     1#ifndef RTL_H_
     2#define RTL_H_
     3class RTL {
     4  private:
     5    mutable QMutex      fribidi_lock;
     6    mutable QTextCodec *codeci;
     7  public:
     8    RTL();
     9   ~RTL();
     10    QString ConvertFromRtoL(const QString &text,bool *isRTL) const;
     11    static QString BasicConvertFromRtoL(const QString &text,bool *isRTL);
     12};
     13#endif
  • mythtv/libs/libmythtv/rtl.cpp

     
     1/*
     2 * Right To Left Languages manipulation for OSD
     3 * Tony Arie Kolev 14-Dec-2008
     4 * RTL conversion taken from previously implemented patches:
     5 * release 0.21-192.89
     6 * #4885: patch: multi line BiDi support in OSD
     7 * (some corrections made to fix double conversion when fribidi-devel is installed)
     8 * and a new RTL class introduced to integrate unsuccessful attempts
     9 * to make RTL conversion in osdtypes.cpp and later in ttfont.cpp
     10 * now it may be used everywhere when needed
     11 *
     12 */
     13#include <qimage.h>
     14#include <qmap.h>
     15#include <qregexp.h>
     16#include <qdeepcopy.h>
     17
     18#include <iostream>
     19#include <algorithm>
     20using namespace std;
     21
     22#include "yuv2rgb.h"
     23#include "osdtypes.h"
     24#include "ttfont.h"
     25#include "osdsurface.h"
     26#include "osdlistbtntype.h"
     27#include "osdtypeteletext.h"
     28
     29#include "mythcontext.h"
     30#include "mythdialogs.h"
     31
     32#ifdef USING_FRIBIDI
     33    #include "fribidi/fribidi.h"
     34    #include <qtextcodec.h>
     35#endif // USING_FRIBIDI
     36
     37#include "rtl.h"
     38
     39RTL::RTL() :     codeci(NULL)
     40{
     41}
     42RTL::~RTL() {
     43}
     44 
     45QString RTL::BasicConvertFromRtoL(const QString &text,bool *isRTL)
     46{
     47    QStringList rtl_string_composer;
     48    bool handle_rtl = false;
     49    QChar prev_char;
     50
     51    // Handling Right-to-Left languages.
     52    // Left-to-Right languages are not affected.
     53    for (int i = (int)text.length() - 1; i >= 0; i--)
     54    {
     55        QChar::Direction text_dir = text[i].direction();
     56        if (text_dir != QChar::DirR &&
     57            text_dir != QChar::DirRLE &&
     58            text_dir != QChar::DirRLO)
     59        {
     60            if (handle_rtl || rtl_string_composer.empty())
     61                rtl_string_composer.append(QString());
     62
     63            if (text[i].isSpace() && !prev_char.isNull()
     64                    && prev_char.isDigit() && handle_rtl)
     65                rtl_string_composer.back().append(text[i]);
     66            else
     67                rtl_string_composer.back().prepend(text[i]);
     68
     69            prev_char = text[i];
     70
     71            handle_rtl = false;
     72        }
     73        else
     74        {
     75            if (!handle_rtl)
     76            {
     77                rtl_string_composer.append(QString());
     78                handle_rtl = true;
     79                prev_char = QChar();
     80            }
     81            rtl_string_composer.back().append(text[i]);
     82            *isRTL=true;
     83        }
     84    }
     85
     86    QString output = rtl_string_composer.join("");
     87
     88    return QDeepCopy<QString>(output);
     89}
     90
     91QString RTL::ConvertFromRtoL(const QString &text,bool *isRTL) const
     92{
     93    *isRTL=false;
     94#ifndef USING_FRIBIDI
     95    QString output = BasicConvertFromRtoL(text,isRTL);
     96#endif
     97#ifdef USING_FRIBIDI
     98    QString output = text;
     99    QMutexLocker locker(&fribidi_lock);
     100    if (!codeci)
     101        codeci = QTextCodec::codecForName("utf8");
     102
     103    if (!codeci)
     104        return output;
     105
     106    QCString temp = codeci->fromUnicode(output);
     107
     108    FriBidiCharType base;
     109    size_t len;
     110   
     111
     112    bool fribidi_flip_commas = true;
     113    base = (fribidi_flip_commas) ? FRIBIDI_TYPE_ON : FRIBIDI_TYPE_L;
     114
     115    const char *ip = temp;
     116    FriBidiChar logical[strlen(ip) + 1], visual[strlen(ip) + 1];
     117
     118    int char_set_num = fribidi_parse_charset("UTF-8");
     119
     120    len = fribidi_charset_to_unicode(
     121        (FriBidiCharSet) char_set_num, ip, strlen(ip), logical);
     122
     123    FriBidiLevel embedding_level_list[len];
     124    FriBidiStrIndex position_L_to_V_list[len];
     125    FriBidiStrIndex position_V_to_L_list[len];
     126
     127    bool log2vis = fribidi_log2vis(
     128        logical, len, &base, visual, position_L_to_V_list, position_V_to_L_list, embedding_level_list); // output
     129
     130    if (log2vis) {
     131        len = fribidi_remove_bidi_marks(visual, len, NULL, NULL, NULL);
     132        for (int i=0;i<(int)len;i++) {
     133          if (embedding_level_list[i]%2==1) {
     134            *isRTL=true;
     135            break;
     136          }
     137        }
     138    }
     139    output = "";
     140    for (size_t i = 0; i < len ; i++)
     141        output += QChar(visual[i]);
     142#endif // USING_FRIBIDI
     143
     144    return output;
     145}
     146
  • myththemes/Gray-OSD/osd.xml

     
    425425      <multiline>yes</multiline>
    426426   </textarea>
    427427   <textarea name="option1">
    428       <area>100,255,455,30</area>
     428      <area>100,255,395,30</area>
    429429      <font>infofont</font>
    430430      <altfont>infofontgray</altfont>
    431431   </textarea>
    432432   <textarea name="option2">
    433       <area>100,285,455,30</area>
     433      <area>100,285,395,30</area>
    434434      <font>infofont</font>
    435435      <altfont>infofontgray</altfont>
    436436   </textarea>
    437437   <textarea name="option3">
    438       <area>100,315,455,30</area>
     438      <area>100,315,395,30</area>
    439439      <font>infofont</font>
    440440      <altfont>infofontgray</altfont>
    441441   </textarea>
    442442   <textarea name="option4">
    443       <area>100,345,455,30</area>
     443      <area>100,345,395,30</area>
    444444      <font>infofont</font>
    445445      <altfont>infofontgray</altfont>
    446446   </textarea>
    447447   <textarea name="option5">
    448       <area>100,375,455,30</area>
     448      <area>100,375,395,30</area>
    449449      <font>infofont</font>
    450450      <altfont>infofontgray</altfont>
    451451    </textarea>
  • myththemes/isthmus/osd.xml

     
    315315
    316316  <container name="settings">
    317317    <textarea name="settings">
    318       <area>50,50,350,32</area>
     318      <area>50,50,250,32</area>
    319319      <font>settings</font>
    320320    </textarea>
    321321  </container>
     
    339339      <multiline>yes</multiline>
    340340   </textarea>
    341341   <textarea name="option1">
    342       <area>100,255,455,30</area>
     342      <area>100,255,395,30</area>
    343343      <font>infofont</font>
    344344      <altfont>infofontgray</altfont>
    345345   </textarea>
    346346   <textarea name="option2">
    347       <area>100,285,455,30</area>
     347      <area>100,285,395,30</area>
    348348      <font>infofont</font>
    349349      <altfont>infofontgray</altfont>
    350350   </textarea>
    351351   <textarea name="option3">
    352       <area>100,315,455,30</area>
     352      <area>100,315,395,30</area>
    353353      <font>infofont</font>
    354354      <altfont>infofontgray</altfont>
    355355   </textarea>
    356356   <textarea name="option4">
    357       <area>100,345,455,30</area>
     357      <area>100,345,395,30</area>
    358358      <font>infofont</font>
    359359      <altfont>infofontgray</altfont>
    360360   </textarea>
    361361   <textarea name="option5">
    362       <area>100,375,455,30</area>
     362      <area>100,375,395,30</area>
    363363      <font>infofont</font>
    364364      <altfont>infofontgray</altfont>
    365365    </textarea>
  • myththemes/Iulius-OSD/osd.xml

     
    251251
    252252  <container name="settings">
    253253    <textarea name="settings">
    254       <area>64,85,350,32</area>
     254      <area>64,85,264,32</area>
    255255      <font>settings</font>
    256256    </textarea>
    257257  </container>
  • myththemes/Retro-OSD/osd.xml

     
    297297        <position>30,30</position>
    298298      </image>
    299299    <textarea name="settings">
    300       <area>50,50,350,32</area>
     300      <area>50,50,250,32</area>
    301301      <font>settings</font>
    302302    </textarea>
    303303  </container>
     
    321321      <multiline>yes</multiline>
    322322   </textarea>
    323323   <textarea name="option1">
    324       <area>120,239,455,30</area>
     324      <area>120,239,395,30</area>
    325325      <font>notify</font>
    326326      <altfont>grayfont</altfont>
    327327   </textarea>
    328328   <textarea name="option2">
    329       <area>120,269,455,30</area>
     329      <area>120,269,395,30</area>
    330330      <font>notify</font>
    331331      <altfont>grayfont</altfont>
    332332   </textarea>
    333333   <textarea name="option3">
    334       <area>120,299,455,30</area>
     334      <area>120,299,395,30</area>
    335335      <font>notify</font>
    336336      <altfont>grayfont</altfont>
    337337   </textarea>
    338338   <textarea name="option4">
    339       <area>120,329,455,30</area>
     339      <area>120,329,395,30</area>
    340340      <font>notify</font>
    341341      <altfont>grayfont</altfont>
    342342   </textarea>
    343343   <textarea name="option5">
    344       <area>120,359,455,30</area>
     344      <area>120,359,395,30</area>
    345345      <font>notify</font>
    346346      <altfont>grayfont</altfont>
    347347    </textarea>
  • myththemes/Titivillus-OSD/osd.xml

     
    359359
    360360  <container name="settings">
    361361    <textarea name="settings">
    362       <area>50,50,350,32</area>
     362      <area>50,50,250,32</area>
    363363      <font>settings</font>
    364364    </textarea>
    365365  </container>
  • themes/blootube-osd/osd.xml

     
    286286        <position>30,30</position>
    287287      </image>
    288288    <textarea name="settings">
    289       <area>50,50,350,32</area>
     289      <area>50,50,250,32</area>
    290290      <font>settings</font>
    291291    </textarea>
    292292  </container>
     
    309309      <multiline>yes</multiline>
    310310   </textarea>
    311311   <textarea name="option1">
    312       <area>120,269,455,30</area>
     312      <area>120,269,395,30</area>
    313313      <font>notify</font>
    314314      <altfont>grayfont</altfont>
    315315   </textarea>
    316316   <textarea name="option2">
    317       <area>120,299,455,30</area>
     317      <area>120,299,395,30</area>
    318318      <font>notify</font>
    319319      <altfont>grayfont</altfont>
    320320   </textarea>
    321321   <textarea name="option3">
    322       <area>120,329,455,30</area>
     322      <area>120,329,395,30</area>
    323323      <font>notify</font>
    324324      <altfont>grayfont</altfont>
    325325   </textarea>
    326326   <textarea name="option4">
    327       <area>120,359,455,30</area>
     327      <area>120,359,395,30</area>
    328328      <font>notify</font>
    329329      <altfont>grayfont</altfont>
    330330   </textarea>
  • themes/ProjectGrayhem-OSD/osd.xml

     
    284284        <position>0,320</position>
    285285      </image>
    286286    <textarea name="settings">
    287       <area>50,335,350,32</area>
     287      <area>50,335,250,32</area>
    288288      <font>settings</font>
    289289    </textarea>
    290290  </container>
     
    307307      <multiline>yes</multiline>
    308308   </textarea>
    309309   <textarea name="option1">
    310       <area>120,269,455,30</area>
     310      <area>120,269,395,30</area>
    311311      <font>notify</font>
    312312      <altfont>grayfont</altfont>
    313313   </textarea>
    314314   <textarea name="option2">
    315       <area>120,299,455,30</area>
     315      <area>120,299,395,30</area>
    316316      <font>notify</font>
    317317      <altfont>grayfont</altfont>
    318318   </textarea>
    319319   <textarea name="option3">
    320       <area>120,329,455,30</area>
     320      <area>120,329,395,30</area>
    321321      <font>notify</font>
    322322      <altfont>grayfont</altfont>
    323323   </textarea>
    324324   <textarea name="option4">
    325       <area>120,359,455,30</area>
     325      <area>120,359,395,30</area>
    326326      <font>notify</font>
    327327      <altfont>grayfont</altfont>
    328328   </textarea>
  • mythtv/themes/defaultosd/osd.xml

     
    239239
    240240  <container name="settings">
    241241    <textarea name="settings">
    242       <area>50,50,350,32</area>
     242      <area>50,50,250,32</area>
    243243      <font>settings</font>
    244244    </textarea>
    245245  </container>
  • mythtv/themes/blueosd/osd.xml

     
    276276
    277277  <container name="settings">
    278278    <textarea name="settings">
    279       <area>50,50,350,32</area>
     279      <area>50,50,250,32</area>
    280280      <font>settings</font>
    281281    </textarea>
    282282  </container>
  • themes/ProjectGrayhem/theme.xml

     
    11<myththeme>
    22
    33<background style="normal">
    4     <buttonarea>60,95,390,402</buttonarea>
     4    <buttonarea>20,95,390,402</buttonarea>
    55    <buttonspread>no</buttonspread>
    66    <visiblerowlimit>6</visiblerowlimit>
    77    <columns>1</columns>
  • themes/blootube/theme.xml

     
    3838    <normal>button_off.png</normal>
    3939    <active>button_on.png</active>
    4040    <text>
    41       <area>20,13,0,0</area>
     41      <area>20,13,20,0</area>
    4242      <color>white</color>
    4343      <fontname>Bitstream Vera Sans</fontname>
    4444      <fontsize>21</fontsize>
  • themes/blootubelite-wide/theme.xml

     
    11<myththeme>
    22
    33  <background style="normal">
    4     <buttonarea>620,60,536,620</buttonarea>
     4    <buttonarea>620,90,536,620</buttonarea>
    55    <buttonspread>no</buttonspread>
    66    <visiblerowlimit>8</visiblerowlimit>
    77    <columns>1</columns>
     
    3939    <normal>button_off.png</normal>
    4040    <active>button_on.png</active>
    4141    <text>
    42       <area>20,11,0,0</area>
     42      <area>20,11,30,0</area>
    4343      <color>white</color>
    4444      <fontname>Bitstream Vera Sans</fontname>
    4545      <fontsize>21</fontsize>
  • themes/blootube-wide/theme.xml

     
    11<myththeme>
    22
    33  <background style="normal">
    4     <buttonarea>620,70,536,650</buttonarea>
     4    <buttonarea>620,100,536,650</buttonarea>
    55    <buttonspread>no</buttonspread>
    66    <visiblerowlimit>8</visiblerowlimit>
    77    <columns>1</columns>
     
    4444    <normal>button_off.png</normal>
    4545    <active>button_on.png</active>
    4646    <text>
    47       <area>20,10,0,0</area>
     47      <area>20,10,30,0</area>
    4848      <color>white</color>
    4949      <fontname>Bitstream Vera Sans</fontname>
    5050      <fontsize>21</fontsize>
  • themes/neon-wide/theme.xml

    
            
     
    3939    <normal>button_off.png</normal>
    4040    <active>button_on.png</active>
    4141    <text>
    42       <area>20,20,0,0</area>
     42      <area>20,20,20,0</area>
    4343      <color>white</color>
    4444      <fontname>Vera</fontname>
    4545      <fontsize>21</fontsize>