wch / extrafont

Tools for using fonts in R graphics
315 stars 48 forks source link

Warning in load fonts() : More than one version of regular/bold/italic font #16

Closed starlinq closed 11 years ago

starlinq commented 12 years ago

I tried to install and use the Georgia font in Ubuntu and R 2.15.1 but got a message: Warning in load fonts() : More than one version of regular/bold/italic font for Georgia. Skipping setup for this font. Finally the font has not been registered, so I cannot use it. Is there any workaround for the problem?

wch commented 12 years ago

I've used Georgia and haven't encountered this problem before... What entries are listed when you run subset(fonttable(), FamilyName == "Georgia") ?

starlinq commented 12 years ago

I put the result of the subset command in pastebin:

http://pastebin.com/ty1Gq2C9

fonts() function shows Georgia as available font but the loadfonts() fails to load the Georgia font (it gives me: "Warning in loadfonts() : More than one version of regular/bold/italic found for Georgia. Skipping setup for this font.") so I cannot use the font for plot now, it gives me an error: unknown family 'Georgia'.

Just let me know, if you need any additional information.

Regards, VS

On Sat, Oct 6, 2012 at 5:28 AM, Winston Chang notifications@github.comwrote:

I've used Georgia and haven't encountered this problem before... What entries are listed when you run subset(fonttable(), FamilyName == "Georgia") ?

— Reply to this email directly or view it on GitHubhttps://github.com/wch/extrafont/issues/16#issuecomment-9188717.

wch commented 11 years ago

It looks like Georgia got imported twice somehow. I think the best bet is to reinstall extrafontdb (which clears the font database) and re-run the font import. If the problem still happens, please let me know.