Subject: mailing-list for TeXmacs Users
List archive
From : Sam Liddicott <address@hidden>- To: address@hidden
- Subject: [TeXmacs] Re: Font arialbd 9pt at 600 dpi could not be loaded
- Date: Sat, 14 Jul 2012 09:58:34 +0100
Hmmm... it doesn't even try to access the file:
strace on a document with arial and arial bold (with debugging added to tt_font_metric_rep::get as cout << "Want font: " << name << "\n";)
Arial works:
gettimeofday({1342255732, 952468}, NULL) = 0
write(1, "Want font: arial10@600\n", 23) = 23
gettimeofday({1342255732, 952617}, NULL) = 0
gettimeofday({1342255732, 952701}, NULL) = 0
stat64("/usr/share/fonts/truetype/msttcorefonts/arial.ttf", {st_mode=S_IFREG|0644, st_size=275572, ...}) = 0
gettimeofday({1342255732, 952870}, NULL) = 0
open("/usr/share/fonts/truetype/msttcorefonts/arial.ttf", O_RDONLY) = 14
fcntl64(14, F_SETFD, FD_CLOEXEC) = 0
Arial Bold does not even try:
gettimeofday({1342255917, 384917}, NULL) = 0
write(1, "Want font: arialbd10@600\n", 25) = 25
gettimeofday({1342255917, 385039}, NULL) = 0
gettimeofday({1342255917, 385072}, NULL) = 0
gettimeofday({1342255917, 385101}, NULL) = 0
gettimeofday({1342255917, 385127}, NULL) = 0
write(1, "TeXmacs] Font arialbd 10pt at 600 dpi could not be loaded\n", 58) = 58
But in fact all I had to do was delete file /home/sam/.TeXmacs/system/cache/font_cache.scm which had cached that Arial bold was not available before I had installed arial on my new system.
Maybe once per invocation, the font cache should be regenerated if a font is not found.
Sam
On Sat, Jul 14, 2012 at 9:11 AM, Sam Liddicott <address@hidden> wrote:
On a fresh Mint-13 installation I find that Arial bold can no longer be displayed in texmacs, although italic can.This text shows only 2 X's<with|font|ms-arial|X<with|font-series|bold|X>X>The console emits: Font arialbd 9pt at 600 dpi could not be loadedThese files exist:/usr/share/fonts/truetype/msttcorefonts/arial.ttf -> Arial.ttf/usr/share/fonts/truetype/msttcorefonts/ariali.ttf -> Arial_Italic.ttf/usr/share/fonts/truetype/msttcorefonts/arialbi.ttf -> Arial_Bold_Italic.ttf/usr/share/fonts/truetype/msttcorefonts/arialbd.ttf -> Arial_Bold.ttf/usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf/usr/share/fonts/truetype/msttcorefonts/Arial_Black.ttf/usr/share/fonts/truetype/msttcorefonts/Arial_Bold_Italic.ttf/usr/share/fonts/truetype/msttcorefonts/Arial.ttf/usr/share/fonts/truetype/msttcorefonts/Arial_Italic.ttfLibre office is able to display arial boldThe file /usr/share/fonts/truetype/msttcorefonts/Arial_Bold.ttf views fine in mate-font-viewer.Anyone know where I can get information on WHY the font could not be loaded.Also, why it did not fall back to the current font as texmacs does when no mappings exist to be used. The text should not disappear.Sam
- [TeXmacs] Font arialbd 9pt at 600 dpi could not be loaded, Sam Liddicott, 07/14/2012
- [TeXmacs] Re: Font arialbd 9pt at 600 dpi could not be loaded, Sam Liddicott, 07/14/2012
Archive powered by MHonArc 2.6.19.