You are not logged in.

#1 2009-04-24 23:43:21

ShinChyn
Member
From: Chinese->GuangDong->Shantou
Registered: 2008-08-23
Posts: 52

Fonts in Openoffice3 ?

Two Problems:

1. Fonts for Interface.
    I have installed ttf-inconsolata and wqy-zenhei, inconsolata was setted as system-wide font (LXDE). Opened openoffice-writer, the font for menu is not ttf-inconsolata. I guess it looks like Sans. How can I change it to inconsolata ?

2. Fonts for Content.
    I found there are only 3 types of fonts can be used: wqy-zenhei, wqy-zenhei-mono, opensymbles. In fact, I have serveral more fonts than 3 in my system, such as Sans, Monospace. How can I add these fonts to Openoffice, and they are just can be used by myself (not system-wide) ?
    How can I add additional fonts, such as Times New Roman ?

  I have searched openoffice wiki, but only openoffice2 and 1 have resources, no for openoffice3.

PS:
  Some said that may due to xorg.conf, so follow is mine:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
    Option    "AutoAddDevices" "False"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "glx"
    Load  "dri2"
    Load  "dbe"
    Load  "record"
    Load  "extmod"
    Load  "dri"
EndSection

Section "InputDevice"
    Identifier      "Keyboard0"
    Driver          "kbd"
    Option        "XkbLayout" "us"
    Option        "XkbVariant" "dvorak-r"
    Option        "AutoRepeat" "200 25"
EndSection

Section "InputDevice"
    Identifier      "Mouse0"
    Driver          "mouse"
    Option            "Protocol" "auto"
    Option            "Device" "/dev/input/mice"
    Option            "ZAxisMapping" "4 5"
    Option            "ButtonMapping" "3 2 1"
EndSection

Section "Monitor"
    #DisplaySize      300   230    # mm
    Identifier    "Monitor0"
    VendorName    "LCS"
    ModelName    "LXH-GJ15L"
    HorizSync        29.0 - 61.0
    VertRefresh      55.0 - 75.0
    Option            "DPMS"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "HWcursor"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "UseFBDev"               # [<bool>]
        #Option     "Rotate"                 # [<str>]
        #Option     "VideoKey"               # <i>
        #Option     "FlatPanel"              # [<bool>]
        #Option     "FPDither"               # [<bool>]
        #Option     "CrtcNumber"             # <i>
        #Option     "FPScale"                # [<bool>]
        #Option     "FPTweak"                # <i>
        #Option     "DualHead"               # [<bool>]
    Identifier  "Card0"
    Driver      "nv"
    VendorName  "nVidia Corporation"
    BoardName   "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection "Display"
        Viewport      0 0
        Depth         24
        Modes        "1024x768@70"
    EndSubSection
EndSection

Last edited by ShinChyn (2009-04-25 00:02:57)

Offline

#2 2009-04-25 09:38:36

kgas
Member
From: Qatar
Registered: 2008-11-08
Posts: 718

Re: Fonts in Openoffice3 ?

under /usr/share/fonts create a directory with the name of your choice (say my fonts)  copy all your font files (*.ttf) to this folder and refresh the font cache (fc-cache -f). Now all the fonts are available for your applications. To change fonts in LXDE use obconf or appearance option.

Offline

#3 2009-04-25 12:33:28

ShinChyn
Member
From: Chinese->GuangDong->Shantou
Registered: 2008-08-23
Posts: 52

Re: Fonts in Openoffice3 ?

Yes, but I guess /usr/share/fonts is system-wide. Can I do some under my home ?

Offline

#4 2009-04-25 12:47:22

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: Fonts in Openoffice3 ?

copy them all in .fonts wink

Offline

Board footer

Powered by FluxBB