Ubuntu :: Font Substitution Etc In OpenOffice

Feb 20, 2010

I have to send CVs to people as Word docs. I compose them using Linux Libertine font. This means that if I send them as they are, they will almost certainly be viewed in a completely inappropriate font. I have tried creating a copy converted to Times New Roman, but the result is inferior. I am also uncomfortable with this because I tend to end up with the originals the copies out of sync. I would rather have just one doc file for each type of CV.What I would like to know is:

1. Is there a serif font that all MS Office users are certain to have that is a less scrappy looking alternative to Times New Roman? It doesn't have to look identical to Linux Libertine, but none of the other MS core fonts look right.
2. Is there a way of specifying a generic serif font as a substitution in Word docs created in OpenOffice Writer like there is in HTML?

View 2 Replies


ADVERTISEMENT

OpenSUSE :: 11.3 X86-64 Thunderbird 3.0.11 Html Font Substitution

Feb 4, 2011

I have been doing some work on an mailing system and sent a test e-mail to myself. This had an html body and a paragraph for which the font was declared as itc zapf chancery ,cursive. I know this is not a good choice but it was only a test. When displaying the html message in thunderbird, Zapf Chancery was not used and the paragraph displayed in some other font. If I go into preferences -> composition, I can display a list of fonts that includes itc zapf chancery. Thunderbird displays the html page without problems.

View 1 Replies View Related

Ubuntu :: Installing A New Font On Openoffice 3.2?

Sep 25, 2010

installing a new font on openoffice 3.2.the font i needed to install was kannada.i have installed the truetype kannada font from the software center, but cant find the font in font dropdown list in openoffice.

View 3 Replies View Related

Ubuntu :: Make Default OpenOffice Font Color In 10.04?

Aug 25, 2010

I keep forgetting to change the font color to black in OpenOffice.org in Lucid. This is a pain when printing, but the bigger problem is with writing up formulae. How do you change colors in Math (or make it default to black)?

View 1 Replies View Related

Fedora :: OpenOffice From Repo: Can't Change Font

Dec 1, 2009

I upgraded to F12 recently and due to SELinux I installed OpenOffice from repo. Now, I open an .ods file I made with orig. OpenOffice 3.1.1 on F11, and find that the font has become bold italic all through the 13 sheets and I can't change it. How can I change it to back non-bold, non-italic? I've looked through Options, but can't find anything useful for this.

View 5 Replies View Related

General :: Get A Package That Makes The OpenOffice Drop-down For Font Selection?

Aug 3, 2010

Is it possible to get a package that makes the OpenOffice drop-down for font selection use the fonts so that i can compare them? I seem to remember it is but can't remember the package name. I am really looking for something like the MicroSquish Font "Monotype Corsiva". I am currently using a LiveCd of Ubuntu 9.04.

View 2 Replies View Related

Debian Multimedia :: OpenOffice Font Anti Aliasing Broken After Upgrade To Lenny

Sep 14, 2010

I'm trying to upgrade a headless terminal server like box from Etch to Lenny. Users log in to this box using a GoGlobal client and use applications such as OpenOffice and Iceweasel. Because of the ended support for Etch we want to upgrade this machine to Debian Lenny as soon as possible and in order to save time we decided to dist-upgrade instead of installing a new machine. I've done this upgrade in a test environment and everything is working as expected except for OpenOffice, which seems broken after the upgrade:

The problem seems to be caused by the anti aliasing features of OpenOffice and disabling these features in the options panel (Extra -> Options -> OpenOffice.org View -> Screen font anti aliasing) fixes the UI somewhat:

However, as can be seen in the last screenshot, disabling anti aliasing makes the whole thing look terrible. I've searches the net for solutions such as this one but so far I've not been able to fix this. Is there anyone who can point me towards what has changed in the way fonts are rendered since Lenny and what might cause this breakage for OpenOffice? Other applications such as Iceweasel work perfectly and look better then before.

View 1 Replies View Related

General :: Create And Install All Relevant Font-metrics And Fontmaps Of A TrueType Font For (pdf)TeX?

Jul 9, 2010

Essentially I have found this guide, but it is for miktex, i need a guide for texlive on Debian/Ubuntu which will not pollute dpkg installed texmf.

I'm interested in converting TrueType font to be usable in (pdf)(La)TeX.

All the power google turn up just stuff f relating how to install microsoft fonts or do stuf on MikTeX.

I CANNOT USE XeLaTeX!!! I use pstricks and the font must be available in plain TeX! Otherwise my document looks inconsistent!

View 1 Replies View Related

General :: Missing Glyphs In Terminus Font - Setup A Fallback Font?

Jul 8, 2010

Most of my work happens in a terminal, so I need a clear, readable font. I've settled a while ago on Terminus [URL]..., which works wonders for me. I added XTerm*faceName : Terminus in my ~/.Xdefaults, and I do get the Terminus font. Unfortunately, a lot of Unicode glyphs are missing (mathematical symbols, greek and hebrew letters), displaying as little square blocks instead.

If I remove the faceName entry, the default configuration seems able to display most of the glyphs (including math, greek, hebrew, runic, and whatever else), but the default font is much harder to read.

A google search hints that it should be possible to use Terminus as the default font, and fallback to (an)other one(s) for missing glyphs, but provides no further explanation. I've seen documentation that recommends Bitstream Vera Sans as a fallback, but it lacks the glyphs I need too; I don't know how to identify the default font used by xterm either, I had a look at /usr/share/X11/app-defaults/XTerm, but all I can find are generic references to old pre-fontconfig font names.

Using Gentoo Linux, fontconfig and xterm are up to date, USEs trutype and unicode enabled, X.Org server 1.6.

Edit: I alternate between Ratpoison, Awesome and XMonad, without a desktop environment.

View 1 Replies View Related

OpenSUSE :: Can't Change Font - Font Size FIrefox 3.6.8

Aug 16, 2010

I can't change fonts in Firefox preferences (Content).

My OS is openSUSE 11.3, KDE 4.4.4. release 8.

Any type and size of font I use, nothing happens. It's still same font which I choose for the first time I've started Firefox afer installing openSUSE 11.3.

View 4 Replies View Related

Fedora :: OpenOffice - Install A Language-pack For OpenOffice?

Dec 14, 2009

I'm trying to install a language-pack for my OpenOffice, but there seems to be a dependency-problem. Maybe someone has a suggestion. FC12, x64 OOo.x64 3.1.1

Code:
[root@sarah yum.repos.d]# yum install openoffice.org-langpack-de
Loaded plugins: fastestmirror, presto, refresh-packagekit, remove-with-leaves
Loading mirror speeds from cached hostfile
* fedora: ftp.astral.ro
* livna: rpm.livna.org

[Code]...

View 6 Replies View Related

Ubuntu :: Bash Scripting Gives Bad Substitution

Feb 18, 2011

I'm trying to get the substring of a string in bash. Here is the code:
Code:
#! /bin/bash
LOCAL_HOSTNAME=$(hostname)
echo $LOCAL_HOSTNAME
INDEX_OF=`expr index "$LOCAL_HOSTNAME" 1`
echo $INDEX_OF
SERVER_HOSTNAME=${LOCAL_HOSTNAME:0:INDEX_OF}
echo $SERVER_HOSTNAME

It's supposed to get the current hostname, assign it to variable LOCAL_HOSTNAME, get the first occurrence of "1" from hostname and assign value to INDEX_OF, the get the substring from variable LOCAL_HOSTNAME (starting at index 0 through INDEX_OF) and asign it to SERVER_HOSTNAME. No matter how much I've tried it keeps throwing Bad substitution error at the substring. I've searched and it says it has to be bash... but it is bash, both the sh script and the running shell. The LOCAL_HOSTNAME and INDEX_OF variables are ok.

Here is the output:
I've also tried to get the substring without the INDEX_OF but it gives the same error: SERVER_HOSTNAME=${LOCAL_HOSTNAME:0}
Code:
host1
5
test.sh: 7: Bad substitution

View 2 Replies View Related

Ubuntu :: XML Close Tag (RegEx) Substitution (Using Sed)?

Apr 22, 2011

This makes me feel like a total n00b but I'm trying to figure out how to replace an XML close tag (such as </pagenum> ) with the same XML close tag followed by yet another close tag. (I want every occurrence of '</pagenum>' to be replaced with '</pagenum></p>').

I've tried using something like this:
Code:
sed 's/</pagenum>/</pagenum></p>/' old.xml new.xml
What am I missing? Please forgive me. I'm diving head first into RegEx.

View 5 Replies View Related

Ubuntu :: By Default Pango Is Choosing AR PL UMing CN As Font To Render Japanese Text When Current Font Doesn't Have Japanese Glyphs

May 4, 2010

Actually I want to log a bug but I don't really know what package to log it against. The problem is that by default Pango is choosing the AR PL UMing CN as the font to render Japanese text when the current font doesn't have Japanese glyphs. But AR PL UMing CN is a Chinese font, so Chinese glyphs for kanji characters (e.g., 覚) are displayed. This is jarring and confusing for Japanese readers.

This situation mostly arises when you have mixed English and Japanese text. Some applications (for instance Firefox) will allow you to select a font for Asian text. Thus if the text contains only Asian characters it will use the font you select, rather than what Pango would have selected. But if it is a mix of English and Japanese, you end up with the wrong glyphs.

Other environments (like gnome-terminal, or a gedit) have difficulties as well. Since the primary interface requires mono spaced roman characters you run into difficulty selecting fonts. Most Japanese fonts only have proportional roman characters. This means that if use a nice roman font and use Japanese text (for instance file names), you end up with Chinese glyphs. What I want is a mechanism that will work across all of Gnome for selecting the font I want to use for Chinese characters. That way I can choose either Japanese or Chinese glyphs.

I realize this is low priority. It only bugs me a little, but many of my Japanese colleagues are put off from using Ubuntu because they are confused by the Chinese glyphs that pop up on my screen from time to time. As I said, I'd like to file a bug, but I'm not sure against what package...

View 2 Replies View Related

Slackware :: Openoffice Will Not Save To Nfs Share - Openoffice 3.2.0

Jun 5, 2010

I have an nfs share that mounts automatically when kde starts.

Code:

wendy@DellNB:~$ cat .kde/Autostart/mountNAS.sh
#!/bin/bash
mount ~/TestShare
#echo "NAS Mounted"

[code]...

Gimp works fine editing and saving photos from/to the nfs share. kWrite can do its thing and read/create files on the NAS. Files I create with vim are visible and editable under windows. OpenOffice however, when I try an open a file I get "file is locked by unknown user." I open as copy and try saving to the share with a different name... No Dice, error saving to share the file is created on the share but it is empty. I did some reading and found a post that said to comment a line from a file called soffice, which I cannot find.

View 2 Replies View Related

General :: Sed Substitution Not Working

Jul 26, 2011

I read up on sed and I am confused about it and regular expressions. I am trying to replace some text on one line in a file with some text.

original text: $normal[''];
replaced with: $normal['localhost'];

In my script file file I've tried numerous combinations of delimiters, etc but obviously don't understand all the rules of regular expressions. My current sed command was:

sed -i 's/$normal[''];/$normal['localhost'];/g' /path_to_file
I also saw some examples using variables, so I tried that:
bb1="$normal[''];"
bb2="$normal['localhost'];"
echo $bb1
echo $bb2
sed -i 's/"$bb1"/"$bb2"/g' /path_to_file

In the above test, the echos both show the correct text but nothing happens to the real file.

View 3 Replies View Related

Programming :: Variable Substitution In BASH?

Feb 17, 2011

Just a simple BASH for loop to read the file path from a text file (clean.txt) echo the variable for debug purposes, and scp it to a server I have using port 50 for SSH.

I've already formatted the entries in clean.txt to handle spaces correctly, using sed replacement.

Example from the clean.txt file:

Code:
/MP3/NAS000000001/Barenaked Ladies/Barenaked Ladies - Barenaked For The Holidays/20 Auld Lang Syne.mp3
/MP3/NAS000000001/Barenaked Ladies/Barenaked Ladies - Barenaked For The Holidays/14 Deck the Stills.mp3

[Code]....

View 5 Replies View Related

General :: Sed Command Does Not Perform Substitution

Jul 22, 2010

I've been trying to use a find command with -exec to find the differences between identically-named files in different paths. My initial attempt was to do something like this:
Code: find trunk/ -type f -not -path '*.svn*' -exec diff '{}' `echo '{}' | sed 's/^trunk///'` ;

Unfortunately this does not work at all as expected (the diff ends up executing on the same file)! I have narrowed it down to the subshell (inside the ``) but beyond that I have no idea. For some reason the sed, though written correctly, does not perform the substitution. I've changed the diff to echo and played with the sed command and the only way I can get it to perform _any_ substitution is to use .* as the regex. Even s/.*trunk.*/SUB/ doesn't work. Any insight into the inner workings of -exec/subshells/pipes or some crap I'm missing? Don't worry about rewriting the command to make it work; I simply swapped the paths and got rid of the subshell nonsense and everything works fine.

View 4 Replies View Related

General :: Shell Script For Substitution?

Jul 9, 2011

So, I have 100 folders each of them include a file called script.txt and script2.txt. the file script.txt has and 100include files that have the same name like the folders. So, for example if I have the folders A, B and C then the script.txt will include 3lines such as:

*include A
*include B
*include C

I want for each folder (A, B and C) to create script2.txt which will substitute *include A with $include A, respectively for each folder.

so for folder A, I will have script2.txt

$include A
*include B
*include C

[Code].....

but it is substituting "*" with "$" in each file for all the lines. I think i should probably close earlier a loop.

View 4 Replies View Related

Programming :: SH - Recursive Variable Substitution

Jul 1, 2010

I have the following test code fragment:

Code:

When I try to run it 'sh' reports the following message^

Code:

You might understand what I mean with that test code so could you recommend how to achieve the required effect?

View 7 Replies View Related

Fedora :: Upgrade To KDE 4.4 And "Configure Kmail" Displayed In The Default Font No In Console Font

Feb 25, 2010

In all previous versions of KDE I had Console8x16 set as KDE font for all cases (Settings->Appearance->Fonts). After tonight upgrade, this (only!) font is not working. I can see it in font manager, I can set it in ...Appearance->Fonts, but actually remains default font. Two of about 30 attempts somehow (can not reproduce) succeeded to set "console 12" font, but it disappeared after restart.

1. What can be the problem in 4.4?
2. In /usr/share/fonts tere are 3 files named console8x16.pcf, console8x8.pcf and console9x15.pcf, but in the font list in Appearance->Fonts I can see only 2 - one named "Console" (seems to be 8x16 and "console" (8x8). File 9x15 does not appear at all. Why?

Last results of attempts: cannot use console font in part of areas, while part works OK. For example: kdevelop editor, kmail message body text works OK. But kmail other parts - does not. The most interesting is that although setting the kmail body message text to console displays the message body text correctly (with console font), but the example message in "Configure kmail" dialogue "The Quick Brown Fox Jumps Over The Lazy Dog" is displayed in the default font, as if there is no console font!

View 3 Replies View Related

Debian Configuration :: Error: EOF In Backquote Substitution

May 24, 2010

After apt-get upgrade I get this:

Setting up linux-image-2.6.32-5-amd64 (2.6.32-13).
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64
Running update-grub.
/etc/default/grub: 26: Syntax error: EOF in backquote substitution

[Code]...

View 7 Replies View Related

General :: Shell Script -- Awk Variable Substitution?

Oct 7, 2010

I have a script in which I'm reading a file line by line and I'm finding certain position value using awk index as

Code:
# 2 spaces before open parens
pos=`echo | awk -v Line="$Line" '{ print index("'"$Line"'"," (")}'`

[code]....

View 2 Replies View Related

Programming :: Bash - Why Is Process Substitution <() So Much Faster

Nov 25, 2010

file allids consists of 300,000 rows, each containing a 5-7 digit numeric id. file newids consists of 20,000 rows of id's. How do you explain the following timings? time: 0.07s:

Code:

diff <(sort allids) <(sort newids)
time: 1.6s:

[code].....

View 4 Replies View Related

Programming :: C Wrapper For Secure Password Substitution

Feb 3, 2011

I'm working on a program that will allow non-privileged users the ability to substitute passwords that are read in from a 600-root:root file.
A user might call it like this:
/bin/securepasswrapper "/path/to/check_ping -u Admin -p ?webserver1?"

The file (defined now as /tmp/securefile) will be searched for the identifier "webserver1", and it's corresponding password will be returned to securepasswrapper. Now, I know you could just call /bin/echo, and get the output, but that's in scope at this point.
File format of securefile is:
<identifierassword>
ex: webserver1:asdf123

Once the password is properly substituted in, securepasswrapper should then execute it as the UID/EUID of the calling user (not root)...that part I've not got to yet.
Code:
/* program: securepasswrapper
author: R.Briggs + Google
date: 02/02/11
purpose: C wrapper that replaces placeholders in a string with secure passwords retrieved from a file
*/ .....

View 5 Replies View Related

Programming :: Implement Variable Substitution In Strings?

May 6, 2011

I have an interpteter that supports string literals, and the way it works is that the lexer returns the entire string as a single token, with the quotes removed and escape sequences replaced with the literal characters they represent.

I already implemented single-quote strings, they don't interpret any characters specially except for the single quote. I partially implemented double-quoted strings, they already support all the same backslash escape sequences that C does. But I would also want to add variable substitution.

The way it would work is that "${expression}" would interpret the expression (which could just be a variable name) and replace itself with the result. But I have no idea how to do this.

In case it matters, I'm using a hand-written lexer and recursive-descent parser.

View 14 Replies View Related

Programming :: Shell Scripting Array - Bad Substitution

Jun 19, 2009

I made a little rsync script for log transfer.

Code:
SERVERS=(SERVER1 SERVER2 SERVER3)
SERVER1_SERV=(web ftp mail)
SERVER2_SERV=(web transcoding)
SERVER3_SERV=(web ftp mail)
for SERVER in ${SERVERS[@]}
do
echo "Starting tranfer for server $SERVER"
for SERVICE in ${$SERVER_$SERVICE[@]}
do
something_to_be_done
fi
done
But when I run it I get ${$SERVER_$SERVICE[@]}: bad substitution

View 5 Replies View Related

Programming :: Sed Substitution - Doesn't Appear To Be Capable Of Resolving Variables

Dec 21, 2008

I have a simple script that I am writing to parse an XML file for me, and update some version numbers. Basically what happens in my script is that I'm running a grep command on the file to get the current version number, then I prompt for a new number, and then I want to globally replace that version number in the file. The problem is, the sed command seems to only want literal values (it doesn't appear to be capable of resolving variables). For example, this code doesn't work:

[Code]...

I have tried removing the curly brackets from the variable names, quoting them, etc. and nothing seems to work. Should I do this with awk instead (and if so can you kindly write out the command for me because I never bothered to learn awk).

View 2 Replies View Related

General :: Mkdir In Bash Script - Command Substitution

Jun 26, 2010

I was to set up a cronjob that sends its output to a logfile, i want that log file to be unique. the easiest way to set this up would be to make the directory in the script, then output the command to that directory, they call that directory via is full path in cron (because cron only uses full path names.

This does not work

keep in mind the command "/bin/mkdir -p /tmp/pw_log/`date +20%y%m%d_%H%M%S`.log" works fine on the command line - but once I put it in the shell, it does not work.

View 3 Replies View Related

Programming :: Awk - Substitution With Parts Of Matched Regular Expression Used?

Apr 30, 2011

I remember reading that using sed, you can do this with parentheses: s/abc(something)def/(something)else/g I can't find an explanation of how to do something like this with Awk. Say you have this in an HTML file, where (number) stands for a one or two-digit number:

<sup>(number)</sup>

And you want to change that to this:

<a name="(number)t" href="#(number)b"><sup>(number)</sup></a>

How would this be possible? Would you have to use sed?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved