[Solved]what is "Calibri;sans-serif" and "arial;helvetica"

Discuss the word processor
Post Reply
DancingDirty7
Posts: 3
Joined: Thu Feb 12, 2015 12:30 pm

[Solved]what is "Calibri;sans-serif" and "arial;helvetica"

Post by DancingDirty7 »

I got an email and when I replied the quoted text was garbled. when I copy paste two paragraphs of normal or the grabled text to openoffice, one paragraph states that its font is arial;helvetica and the other states its Calibri;sans-serif. What I don't understand why it states two fonts, where is should state one font.

Thanks
Last edited by floris v on Fri Feb 13, 2015 12:26 am, edited 2 times in total.
Reason: Changed topic icon to Solved
OpenOffice 4.1.1 on Windows 8.1 Pro x64
John_Ha
Volunteer
Posts: 9604
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: what is "Calibri;sans-serif" and "arial;helvetica"

Post by John_Ha »

Welcome to the forum.

I think they are different fonts used in the email compared with the fonts you have installed on your PC. The workaround is to select the characters and change them to a font you do have installed or, after selecting them, choose Clear Formatting or Default in the Style box.

Remember that the font name in the Writer font box is NOT necessarily the font being used to display or print - it is the font the document is CALLING for. If the PC does not have that specific font installed, the operating system silently substitutes a different font for it.

The add-on TestFonts is very useful to find which fonts are being called for in a document.

If this solves the problem, please edit your original post title to [Solved].
Attachments
Clipboard01.png
Clipboard01.png (22.61 KiB) Viewed 5836 times
LO 6.4.4.2, Windows 10 Home 64 bit

See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.

Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
User avatar
RoryOF
Moderator
Posts: 35203
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: what is "Calibri;sans-serif" and "arial;helvetica"

Post by RoryOF »

Arial is a font used in older versions of Windows than 8.1. If OpenOffice is flagging these as the desired fonts they were presumably used in the original text from which you pasted into OpenOffice. If a font is not available, OpenOffice does its best to use an existing font with closest match to the metrics of the desired font.

It may state two fonts because one is the underlying font for the paragraph style used, but which has been overwritten by direct formatting using the other font.
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
DancingDirty7
Posts: 3
Joined: Thu Feb 12, 2015 12:30 pm

Re: what is "Calibri;sans-serif" and "arial;helvetica"

Post by DancingDirty7 »

RoryOF wrote:Arial is a font used in older versions of Windows than 8.1. If OpenOffice is flagging these as the desired fonts they were presumably used in the original text from which you pasted into OpenOffice. If a font is not available, OpenOffice does its best to use an existing font with closest match to the metrics of the desired font.

It may state two fonts because one is the underlying font for the paragraph style used, but which has been overwritten by direct formatting using the other font.
So in my example it is using calibri and arial when the font I pasted is helvetica and sanc-serif?
John_Ha wrote: The add-on TestFonts is very useful to find which fonts are being called for in a document.
will try that thanks.
OpenOffice 4.1.1 on Windows 8.1 Pro x64
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: what is "Calibri;sans-serif" and "arial;helvetica"

Post by acknak »

DancingDirty7 wrote:... What I don't understand why it states two fonts, where is should state one font.
This is a font setting that comes from html code. A web browser will interpret this as "use Calibri if possible; otherwise use the generic sans-serif font".

OO is just applying the html font setting without regard to what it contains.

OO Writer doesn't use the same interpretation; as far as I can tell, it simply ignores everything after the first font in the list. Writer already has a built-in fallback for situations where the formatting calls for a font that isn't available.

Web content pastes into Writer with a lot of unhelpful formatting left over. It's often a good approach to paste web content as "unformatted text" and re-format as needed.
AOO4/LO5 • Linux • Fedora 23
DancingDirty7
Posts: 3
Joined: Thu Feb 12, 2015 12:30 pm

Re: what is "Calibri;sans-serif" and "arial;helvetica"

Post by DancingDirty7 »

acknak wrote:
DancingDirty7 wrote:... What I don't understand why it states two fonts, where is should state one font.
This is a font setting that comes from html code. A web browser will interpret this as "use Calibri if possible; otherwise use the generic sans-serif font".

OO is just applying the html font setting without regard to what it contains.

OO Writer doesn't use the same interpretation; as far as I can tell, it simply ignores everything after the first font in the list. Writer already has a built-in fallback for situations where the formatting calls for a font that isn't available.

Web content pastes into Writer with a lot of unhelpful formatting left over. It's often a good approach to paste web content as "unformatted text" and re-format as needed.
thank you! solved!
OpenOffice 4.1.1 on Windows 8.1 Pro x64
Post Reply