ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
To: gaburici@cs.umd.edu
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Hans Hagen <pragma@wxs.nl>
Subject: Re: Font problems with latest minimals on Linux
Date: Thu, 14 Aug 2008 10:33:09 +0200	[thread overview]
Message-ID: <48A3EDC5.8090304@elvenkind.com> (raw)
In-Reply-To: <bef0d710808132248m1f6ec09cy1939736291c22c2f@mail.gmail.com>



Vasile Gaburici wrote:
> 
> Feel free to fiddle with the sort function if you name fonts
> differently, but you need to make sure that bold italic gets loaded
> before bold for the bug to occur.

Ok, bug found and squashed. Patch is below

>> Okay, I've updated to the latest beta. Recursive OSFONTDIR works now
>> for "script --fonts --reload" and for "context", but "script --fonts
>> --list" is broken: no output.

Hans changed the commandline so that "nothing" is no longer the same
as "*". This works:

   $ mtxrun script --fonts --list \*

Best wishes,
Taco

--- font-syn.lua.old    2008-08-13 14:47:44.000000000 +0200
+++ font-syn.lua        2008-08-14 10:25:13.631806083 +0200
@@ -133,7 +133,8 @@
              fontname = fontname or result.fontname
              add(result.fontname, fontname, filename, suffix, is_sub)
          end
-        if result.familyname and result.weight then
+        if result.familyname and result.weight and
+           result.italicangle == 0 then
              local madename = result.familyname .. " " .. result.weight
              fontname = fontname or madename
              add(madename, fontname, filename, suffix, is_sub)



___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-08-14  8:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-12 11:50 Vasile Gaburici
2008-08-13  7:43 ` Taco Hoekwater
2008-08-13  8:31   ` Hans Hagen
2008-08-13  9:21     ` Vasile Gaburici
2008-08-13 10:04       ` Hans Hagen
2008-08-13 10:05   ` Vasile Gaburici
2008-08-13 11:20     ` Hans Hagen
2008-08-13 11:47       ` Vasile Gaburici
2008-08-13 13:46         ` Wolfgang Schuster
2008-08-13 15:49           ` Vasile Gaburici
2008-08-13 16:19             ` Hans Hagen
2008-08-13 17:00             ` Taco Hoekwater
2008-08-14  4:33               ` Vasile Gaburici
2008-08-14  5:48                 ` Vasile Gaburici
2008-08-14  8:33                   ` Taco Hoekwater [this message]
2008-08-14  8:48                   ` Hans Hagen
2008-08-14  9:06                     ` Thomas A. Schmitz
2008-08-13 12:29 ` Taco Hoekwater

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48A3EDC5.8090304@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=gaburici@cs.umd.edu \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).