OpenOffice uses incorrect fonts if GTK theme is set via .gtkrc-2.0

I've just noticed this problem now  that I'm using awesome standalone... Whereas my other applications all are set to use nice, small Dejavu Sans fonts, OOO fonts in menus, etc. are not Dejavu Sans and are huge. Using OOO_FORCE_DESKTOP="Gnome" doesn't seem to affect this. How do I force OOO to comply with my font settings?

I seem to recall having to add a font override in OOo preferences for the interface font with older versions. I'm not sure if this works with the newer version. Also, I don't recall what the name of the font that needs overriding is.

Similar Messages

  • Variable printed using incorrect font - Sapscript

    Hi,
    I am using a Sapscript form to print a document. I am printing a variable using a A_SIMP font. When I try to print 2 diff documents each of this document prints the text in either Courier or Times. I want it to be repalced by either Courier or Times and not either or. I tried changing the replacement font for A_SIMP but it does not work.
    The paragraph format used does not define any font. I am using a character format which has the A_SIMP font defined. I am using frontend printer and the devide type does not include A_SIMP font in it.
    Thanks,
    Vivek

    Hi Aidan,
    I wanna know what did you mean with "You must also tell the SAP system the name of the Windows font" ?
    I have a similiar problem but mine the text in the smartforms strike by #
    I have installed the fonts in 4.7, but when I upgraded it to Ecc6.0 the font is still exist, but the text displayed is being striked with #.
    I have checked like you have said in SE73, my font family is ZCORSIVA and the RTF Text is FONT Monotype Corsiva. is there something wrong with it?
    many many thanks
    @addition :
    I have changed the RTF Text from FONT Monotype Corsiva to Monotype Corsiva (TrueType). But it didn't work. any idea?
    Edited by: AbaPJuNioR on Aug 31, 2010 6:13 AM

  • Firefox is using incorrect font, how do i fix it when i cant read even the dialog boxes

    i cannot paste a screen shot here. firefox is is using small boxes instead of text, that may be ascii codes.

    So Firefox worked normally before the malware cleanup? You might want to reinstall Firefox (without removing the current version) and see whether that corrects it.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, download Firefox 5 from http://www.mozilla.com/firefox
    Close Firefox and run the installer. Does that fix it?
    If not, you might need to create a new Firefox profile to work around some bad settings or corruption.
    You can start the profile manager using the method described in this article: [https://support.mozilla.com/kb/Managing+profiles Managing profiles].
    After creating the new profile, if Firefox is working again, you can move key settings like bookmarks from your damaged profile to the new profile. See [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
    Any luck?

  • Stored Procedure parameter (@Carrier) used in report and can't be set via code

    I have a report that has regular Crystal parameters that I am setting correctly via code.  However, one report actually uses one of the database parameters from the stored procedure that the report was created from.  It is the only report like this and I'm using the same code in an attempt to set it's value.  Although no error is thown, if I look at the parameter value in the IDE it is set correctly, but the field on the report just shows up blank.  I have changed the way the report is created.  Previously, I used the report.export method to create the actual file via a stored procedure.  Now, I'm running the stored procedure first and creating a datatable.  This allows me to execute the SP only once to see if it has data, because only then do I want to create the actual report.  I'm using the SetDataSource method to pass the datatable into Crystal and then using the report.export method to create the report with data.  Everything seems to work, except this stored procedure parameter (@Carrier) is not actually being populated to display on the report.
    Not sure what to look at.  Any suggestions?
    Thanks.

    crpe32.dll is version 13.0.5.891.  This was developed in VS2012 and VB.NET.  I'm using ADO.Net to connect to a MS SQL Server database.
    MainReport.SetDataSource(DTbl)
    bRC = PopulateAllSubReports(MainReport)
    If Not bRC Then Throw New Exception("Received an error in PopulateAllSubReports.")
    bRC = PopulateCrystalParameters(MainReport, SP)
    If Not bRC Then Throw New Exception("Received an error in PopulateCrystalParameters.")
    'Actually create the output file.
    bRC = ExportData(MainReport)
    Private Function PopulateCrystalParameters(myReportDocument As ReportDocument, SP As ReportStoredProcedureCrystal) As Boolean
         Dim myParameterFieldDefinitions As ParameterFieldDefinitions = Nothing
         Dim myParameterFieldDefinition As ParameterFieldDefinition = Nothing, ParamValue As String = ""
         Dim bRC As Boolean, Param As SqlParameter = Nothing
         Try
         myParameterFieldDefinitions = myReportDocument.DataDefinition.ParameterFields
    '*********************Report Parameters***************************
         For Each myParameterFieldDefinition In myParameterFieldDefinitions
              myParameterFieldDefinition.CurrentValues.Clear()
              Select Case myParameterFieldDefinition.ParameterFieldName.Trim.ToUpper
              Case "@CARRIER"
                   If SP.DBParameters.ContainsKey("@CARRIER") Then
                        Param = SP.DBParameters("@CARRIER")
                        ParamValue = NullS(Param.Value).Trim
                        bRC = SetCurrentValueForParameterField(myParameterFieldDefinition, ParamValue)
                        If Not bRC Then Return False
                   End If                           
              End Select
         Next
         Return True
         Catch ex As Exception
         GmcLog.Error("ReportKey = " & Me.ReportKey.ToString & ", " & ex.Message, ex)
         Return False
         End Try
    End Function
    Private Function SetCurrentValueForParameterField(myParameterFieldDefinition As ParameterFieldDefinition, submittedValue As Object) As Boolean
         Dim currentParameterValues As ParameterValues = Nothing
         Dim myParameterDiscreteValue As ParameterDiscreteValue = Nothing
         Try
         myParameterDiscreteValue = New ParameterDiscreteValue
         myParameterDiscreteValue.Value = NullS(submittedValue).Trim
         currentParameterValues = New ParameterValues
         currentParameterValues.Add(myParameterDiscreteValue)
         myParameterFieldDefinition.ApplyCurrentValues(currentParameterValues)
         Return True
         Catch ex As Exception
         GmcLog.Error("ReportKey = " & Me.ReportKey.ToString & ", " & ex.Message, ex)
         Return False
         Finally
         myParameterDiscreteValue = Nothing
         currentParameterValues = Nothing
         End Try
    End Function
    Private Function SetDBSourceForSubReport(mySubReport As ReportDocument) As Boolean
         Dim myTables As Tables = Nothing, myTable As Table = Nothing, DTbl As DataTable, SP As StoredProcedure = Nothing
         Try
         myTables = mySubReport.Database.Tables
         For Each myTable In myTables
              Dim SPName As String = myTable.Location.Substring(0, myTable.Location.IndexOf(";"c))
              SP = New StoredProcedure(ConnectionString, SPName, CommandType.StoredProcedure)
              DTbl = SP.FillTable
              mySubReport.SetDataSource(DTbl)
              SP = Nothing
         Next
         Return True
         Catch ex As Exception
         GmcLog.Error("ReportKey = " & Me.ReportKey.ToString & ", " & ex.Message, ex)
         Return False
         Finally
         If Not SP Is Nothing Then SP = Nothing
         If Not myTable Is Nothing Then myTable = Nothing
         If Not myTables Is Nothing Then myTables = Nothing
         End Try
    End Function
    Private Function PopulateAllSubReports(myReportDocument As ReportDocument) As Boolean
         Try
         Dim mySections As Sections = myReportDocument.ReportDefinition.Sections
         For Each mySection As Section In mySections
              Dim myReportObjects As ReportObjects = mySection.ReportObjects
              For Each myReportObject As ReportObject In myReportObjects
                   If myReportObject.Kind = ReportObjectKind.SubreportObject Then
                        Dim mySubreportObject As SubreportObject = CType(myReportObject, SubreportObject)
                        Dim subReportDocument As ReportDocument = mySubreportObject.OpenSubreport(mySubreportObject.SubreportName)
                        Dim bRC = SetDBSourceForSubReport(subReportDocument)
                        If Not bRC Then Return False
                   End If
              Next
         Next
         Return True
         Catch ex As Exception
         GmcLog.Error("ReportKey = " & Me.ReportKey.ToString & ", " & ex.Message, ex)
         Return False
         End Try
    End Function

  • Possible to have certain apps use certain GTK theme??

    Hey guys I'm wondering if I can have certain apps use either a specific GTK theme (different from system-wide one in use) or none at all, much like OpenOffice does for me right now (I use a dark theme but it retains a light grey, I'm assuming default theme with Gnome).
    Any help appreciated, TIA

    I wrote a little script which does "export GTK2_RC_FILES=/path/to/openoffice.gtkrc" before opening OpenOffice.  I use a GTK theme that make apps like Eclipse and OpenOffice look horrible.  So I use a different gtkrc for them.
    I'm pretty sure exporting GTK2_RC_FILES will work with any GTK2 app.

  • How to change gtk theme dialog box button appearance when using tab?

    Hi,
    I'm using candido as my gtk theme and have noticed that when a dialog box pops up (Yes / No), it is extremely difficult to tell which option is highlighted. How do I change this appearance? I searched through the gtkrc and even used gimp to manipulate the images used via trial and error to see if I found one that worked. Can someone familiar with gtk themes tell me which gtkrc or image to alter to affect this appearance?
    I use tab to select my option a ton and hate not being able to tell what I'm looking at.
    For reference,
    - here is the current look (can you tell which one is highlighted? It's "Cancel" -- just slightly bigger or a fine line around it) LINK
    - here is the gtkrc if that helps? LINK
    For one more point of clarification, I'm not talking about the button appearance on mouseover. I have identified that the button-prelight.png file changes that. I specifically am talking purely about a dialog popping up and then using the tab key alone to highlight through the options. I really like this theme, but this one thing drives me crazy. This appearance changes when I select different themes with lxappearance, so I've narrowed it down to being a gtk-theme issue, not my openbox theme or icon set.
    Many thanks!
    Last edited by jwhendy (2011-02-02 18:11:10)

    HI,
    Debug the program after you press the CANCEL button , you will get where the conrol is flowing , And instead of using
    Leave to screen '910'          use               Leave to screen 0.
    Regards,
    Madhukar Shetty

  • Use a gtk theme for one app and another for the whole system??

    I would like to know if is it possible to use a theme for one application and use another for the remaining of the system? I use OpenBox and I change themes with Lxappearance...
    Thanks,

    Uhh, thanks mauryck for the question and anonymous_user for the answer! I use a very slow gtk theme, and one program suffer from it, but this theme is so beautiful so I dont like to change. Never though about this solution, use a different theme only for this program!
    Sometimes the solution is so simple...

  • I upgraded to Firefox 6 random websites are using illegible fonts from my computer instead of the default. No issues with Firefox 5 or any other browser I use. Each time I open Firefox or reinstall it a different illegible font appears. Please help.

    Firefox 6 using incorrect fonts.

    When I delete the font that keeps showing up as the default, a new illegible font appears. The fonts are not 'garbled' they are just decorative typefaces that are being grabbed from my computer. I have never had an issue with my fonts on old Firefox versions or other browsers like chrome, safari, etc., so I don't think the issue is my fonts. I also don't want to have to delete all the fonts off of my computer. I uploaded another photo of when I deleted the font that was appearing before. Please help if anyone has found a solution to this problem with Firefox 6+ :/

  • Openbox Theme from GTK theme [beta]

    Something like this surely exists, here is my version..
    Creates an Openbox Theme from your chosen GTK Theme ... ..in 1), 2), 3)...
    1) you need to launch your theme changing from a script like this (instead of calling your GTK switcher directly)
    #!/bin/bash
    # call your gtk theme switcher and as it quits create a matching openbox theme
    # command for gtk theme switcher
    lxappearance
    # path to auto openbox theme generator script
    ~/bin/auto-openbox-theme
    # launch obconf (so you can select the newly made theme)
    obconf
    exit
    2) For that to work you also need this next script in ~/bin/auto-openbox-theme and made executable
    #!/bin/bash
    # Looks for the current GTK theme and automatically creates a matching Openbox theme
    # The script fails on themes not following the Clearlooks convention..
    # ..future improvements will account for this - for now the script politely fails on such themes.
    # function used to see if script is generating empty results from GTK it can't handle yet
    function emptycheck {
    if [ -s $myfile ]
    then
    echo "$myfile has data."
    else
    echo "$myfile is empty."
    xmessage "Sorry this gtk is not handled yet. You should not select the generated Openbox Theme this time."
    exit
    fi
    # main script #
    # copy ~/.gtkrc-2.0 to a new file and remove all data except theme name line (!d = don't delete)
    sed /gtk-theme-name/!d ~/.gtkrc-2.0 > ~/.gtk-match-openbox-info
    # remove string before gtk theme name and return info to this file (-i)
    sed -i s/gtk-theme-name=// ~/.gtk-match-openbox-info
    # strip off all (/g) speach marks (\") and return info to this file (-i)
    sed -i s/\"//g ~/.gtk-match-openbox-info
    # place the theme name in a variable
    mygtktheme=$(cat ~/.gtk-match-openbox-info)
    # copy file called mygtktheme to a new file
    sed /gtk_color_scheme/!d ~/.themes/"$mygtktheme"/gtk-2.0/gtkrc > ~/.gtk-match-openbox-info
    # strip the line down to just colours
    sed -i s/gtk_color_scheme\ =\ \"// ~/.gtk-match-openbox-info
    sed -i s/gtk-color-scheme\ =\ \"// ~/.gtk-match-openbox-info
    sed -i s/fg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/bg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/base_color\:#// ~/.gtk-match-openbox-info
    sed -i s/text_color\:#// ~/.gtk-match-openbox-info
    sed -i s/selected_bg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/selected_fg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/tooltip_bg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/tooltip_fg_color\:#// ~/.gtk-match-openbox-info
    sed -i s/\"//g ~/.gtk-match-openbox-info
    # force \n to be a true line break so colours on individual lines
    sed -i s/\n/\\n/g ~/.gtk-match-openbox-info
    sed -i 's/\\//g' ~/.gtk-match-openbox-info
    # store some colours for use in Openbox theme
    # don't delete (!d) line number n and place it in a text file colournX
    # where X is used later to aid production of Openbox theme
    sed '1!d' ~/.gtk-match-openbox-info > /tmp/colour1V
    sed '2!d' ~/.gtk-match-openbox-info > /tmp/colour2W
    sed '3!d' ~/.gtk-match-openbox-info > /tmp/colour3X
    sed '4!d' ~/.gtk-match-openbox-info > /tmp/colour4Y
    sed '5!d' ~/.gtk-match-openbox-info > /tmp/colour5Z
    # check if we have empty data from unhandled GTK themes
    myfile="/tmp/colour1V"
    emptycheck
    myfile="/tmp/colour2W"
    emptycheck
    myfile="/tmp/colour3X"
    emptycheck
    myfile="/tmp/colour4Y"
    emptycheck
    myfile="/tmp/colour5Z"
    emptycheck
    # hold the above in varibles
    myV=$(cat /tmp/colour1V)
    myW=$(cat /tmp/colour2W)
    myX=$(cat /tmp/colour3X)
    myY=$(cat /tmp/colour4Y)
    myZ=$(cat /tmp/colour5Z)
    # make Openbox theme by replacing VWXYZ in template with colours
    sed s/VVVVVV/$myV/g ~/.themes/obthemetemplate/openbox-3/TEMPLATE > /tmp/obtheme
    sed -i s/WWWWWW/$myW/g /tmp/obtheme
    sed -i s/XXXXXX/$myX/g /tmp/obtheme
    sed -i s/YYYYYY/$myY/g /tmp/obtheme
    sed s/ZZZZZZ/$myZ/g /tmp/obtheme > ~/.themes/obthemetemplate/openbox-3/themerc
    # update rc.xml
    #urxvt -e /usr/bin/obconf
    3) AND you need this folder in your ~/.themes/ folder - download it, extract and copy to ~/.themes
    4) (optional but welcome) Post your fails, post your abusive and constructive criticism, and post your "hey why don't you use this 5million times better version here?"'s
    thanks, bye

    Works fine here. Thanks for the script, it's quite handy and I got at last a nice OB theme witch fits with the murrina chrome gtk theme

  • [SOLVED]Ugly firefox again (cannot force FF to use gtk theme)

    For some reasons, my firefox is pretty ugly with default theme and I cannot force it to use gtk theme for scroll bar and other components ...
    yeah, kinda hard to understand what i meant :/. here is the screenshot (take a look closer on the right scroll bar)
    http://i81.photobucket.com/albums/j209/ … _scrot.png
    i wonder if we have anyway to force firefox use gtk like with Openoffice??
    thanks a lot:)
    Last edited by vlearner (2009-04-20 14:05:42)

    solved , i installed firefox with su before and everytime i run i have sudo firefox, but then for su, there is no gtkrc there lol
    Thanks , i haven never thought that my gtkrc s not in su acc, where i run ff:D
    Last edited by vlearner (2009-04-20 14:06:58)

  • Using gtk-theme-switch

    I hate to trouble the the forum with this question, particularly so since I directed it to the package's developer about a week ago and have not received the courtesy of an answer.
    Am I correct to assume that in using gtk-theme-switch to set fonts that, once set, the same font is then used for all applications employing gtk-2? Looking at the program's little interface, I can't see how one might use it on, say, one program, then another one and so on. Precisely how is this thing used anyway?
    jlowell

    RdsArts,
    Thanks for your reply.
    I do not use a desktop environment, rather I use a WM and launch all applications from the WM's menu. If I understand you, when you say "It sets the 'base font' other GTK+2 apps use", you're saying that if I use gtk-theme-switch to set lucida 12, for example, the tool bar and menu fonts in all gtk+2 applications would be set to lucida 12 thereafter. Am I right about that?
    jlowell

  • [SOLVED] Having trouble making QT apps use GTK theme

    Hello everyone, I'm having trouble making QT apps use my GTK theme in openbox.
    Some apps seem to work just fine but others don't.
    ^Such as above, as you can see VLC is working, as is qtconfig, but k9copy and k3b are not.
    I've did the suggestions that are listed in the wiki. (http://tinyurl.com/ybhb7yr)
    And even rebooted after I did them, still no go.
    My .gtkrc-2.0 file simply contains:
    gtk-theme-name="Clearlooks_blackblue"
    gtk-icon-theme-name="Tango"
    Does anyone have any ideas why it's not working with k9copy and k3b/how to fix it?
    Thanks.
    Last edited by tgblb (2010-03-22 02:39:31)

    anonymous_user wrote:k9copy and k3b are KDE apps not Qt.
    Yes, but don't they use QT?
    And if not, what do they use? lol. And is there anyway to make them use my GTK theme?

  • Font used in the Boogie Light theme?

    Hi can anyone tell me which font Apple uses for its "boogie light" theme?
    I assume I cannot modify it, so I want the rest of a production to be done in the same font.

    Yes it is Strenuous at a size of 142.
    You cannot change it in iMovie, but in Final Cut Pro X, you can change both the font and many other parameters.

  • [SOLVED] Distorted fonts in oxygen-gtk theme

    I have install oxygen-gtk2 theme along with gtk-kde4.
    When my desktop effects are ON I am seeing distorted fonts in drop down menu's of gtk applications.
    They become normal when I move mouse on them. Also they appear normal when desktop effects are OFF.
    No other theme have any issue.
    Can anyone help me in solving this ?
    Versons:
    oxygen-gtk2 :  1.2.5-1
    gtk-kde4       :  0.9.5b-2
    Screen Shots:
    Last edited by girish_patel (2012-07-13 17:25:46)

    I have "Intel(R) Graphics Media Accelerator HD".
    I don't have flash video player running. This issue is consistent even without running anything else.
    And It is not visible in kde application or with other gtk themes.
    It comes only with oxygen-gtk, with kde desktop effects activated, only in gtk applications, only for text in pop-up menus.
    Even other texts in those application are normal.
    Is anybody else facing same issue in this combination ?

  • What's the correct way to make QT4/KDE4 apps use my GTK theme?

    I tried going to Computer -> System Settings -> Appearance and setting the widget style to GTK+ (instead of the default oxygen) but my computer crashes.  If I load xterm from kdm and try to run kwin for example, I get the following error message.
    "QGtkStyle cannot be used together with the GTK_Qt engine."
    and then it segfaults.
    http://wiki.archlinux.org/index.php/Uni … d_GTK_apps 
    This page says to use QGtkStyle, which comes bundled with QT 4.5.  I assume that is what I do with the previous procedure, but obviously that is giving me problems.  Any ideas?
    Fyi, this just started happening tonight when I rebooted my computer.  I've had it set to GTK+ for a while and my KDE apps rendered with my GTK theme, but when I rebooted it segfaulted loading the desktop and I haven't been able to get it to work since.  Any ideas?

    Maybe you should try typing "qtconfig" in the terminal. You can choose GTK+ then. Works for me. I didn't install anything special except the QT applications I use (including QTcreator), so I think "qtconfig" should be available when you have QT installed.
    Also look out for a ".kde" directory (?) in your home folder (even when you don't use KDE it might be that you have it). It could be that you've got some contradictory settings in some configuration files that are read when QT apps are started. I'm not sure on this one, though.

Maybe you are looking for

  • IPhone headphones no longer control iTunes after 10.5.6 update

    I just purchased my new MacBook Pro yesterday; happy to find out I could use the "clicker" on my iPhone headphones to control my iTunes. The machine came stocked with a version of Leopard before 10.5.6, so The Updater prompted me to update. After the

  • Photoshop CS6 is not installing properly and i am unable to locate the application

    HELP ME!!!! My trial Photoshop CS6 is not installing properly and i am unable to locate and open the application on my mac. I am just going around in circles from file to file and back to the starting "intall" icon

  • Down payments configuration and condition AZWR value 0.

    Hi, I am trying to configure the standard down payments but I have the following questions: 1º ) I have configured the condition type AZWR with all the requirements from the manual, condition 2 and the calculation formula 48 but I donu2019t know whic

  • Copy constructor and temporary objects in C++

    I'd need some clarification on how constructor works when the argument is  a temporary object. I defined a dummy MyVect class with operator+ and copy constructor: class MyVect { public: MyVect() { cout << "Constructor" << endl; MyVect(const MyVect &v

  • Website built with iWeb not working properly on PC

    How can I ensure that everything that I build in Iweb will open correctly if someone goes to my website on a PC? In particular, people have had problems listening to music that I have put on my site. I tried embedding a music player, and I have also