ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Font switch and memory
@ 2003-04-12  8:52 Adam Lindsay
  2003-04-13 18:40 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Lindsay @ 2003-04-12  8:52 UTC (permalink / raw)


Hi folks,

When I get an error message like the following, what exactly am I running
out of, and can I make sure there's more of it? I am indeed doing a lot
of switching of very large fonts, but the error doesn't show up at some
font sizes and appears at others.

! Font \*9ptrctf*=texnansiOSFSC-WarnockPro-Regular at 9.0pt not loaded:
Not eno
ugh room left.
<to be read again> 
                   \relax 
\xxdododefinefont ...tspec {#4}\newfontidentifier 
                                                  \let
\localrelativefontsiz...

\fontstrategy ...ame #1\csname #2#3#4#5\endcsname 
                                                  \tryingfontfalse \fi 
<inserted text> ...yle \fontalternative \fontsize 
                                                  \fi \iftryingfont
\fontstr...

\synchronizefont ...strategy \the \fontstrategies 
                                                  \relax \fi
\ifskipfontchar...

\complexswitchstyleonly ...lue {\@shortstyle@ #1}}
                                                  \the \everybodyfont 
l.24 {\rm text {\switchstyleonly\rc
                                    text \it text} text}\crlf


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Font switch and memory
  2003-04-12  8:52 Font switch and memory Adam Lindsay
@ 2003-04-13 18:40 ` Hans Hagen
  2003-04-13 23:47   ` Adam Lindsay
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2003-04-13 18:40 UTC (permalink / raw)


At 09:52 12/04/2003 +0100, Adam Lindsay wrote:
>Hi folks,
>
>When I get an error message like the following, what exactly am I running
>out of, and can I make sure there's more of it? I am indeed doing a lot
>of switching of very large fonts, but the error doesn't show up at some
>font sizes and appears at others.
>
>! Font \*9ptrctf*=texnansiOSFSC-WarnockPro-Regular at 9.0pt not loaded:
>Not eno

this happens when you do many complete font size switches; has to do with 
all this math ...

you can increase the font mem on texmf.cnf (will be done in the latest tex 
live too)

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Font switch and memory
  2003-04-13 18:40 ` Hans Hagen
@ 2003-04-13 23:47   ` Adam Lindsay
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Lindsay @ 2003-04-13 23:47 UTC (permalink / raw)


Hans Hagen said this at Sun, 13 Apr 2003 20:40:10 +0200:

>> I am indeed doing a lot
>>of switching of very large fonts, but the error doesn't show up at some
>>font sizes and appears at others.
>>
>>! Font \*9ptrctf*=texnansiOSFSC-WarnockPro-Regular at 9.0pt not loaded:
>>Not eno
>
>this happens when you do many complete font size switches; has to do with 
>all this math ...
>
>you can increase the font mem on texmf.cnf (will be done in the latest tex 
>live too)

Yup, that did it. I increased ConTeXt's font memory in my TeXLive (web2c-
based) install, and it was fine.

So, for those who are interested, I'm now handling real Small Caps
(Roman, Italic, bf & bi) as a different font style next to Serif [rm] and
Sans [ss]. It takes some extra font memory, but it's one way of using
caps as an additional style axis.

I'm trying to get an intelligent font switch from Serif and Sans to my
RomanCaps [rc] and CapsSans [cs] (yes, the names are awful). I'm having
trouble with the \ifx in my definition:

\def\SmCap
 {\ifx\fontstyle\c!ss    \switchstyleonly\cs\else
                         \switchstyleonly\rc\fi}

I thought this would work, since it's essentially the same comparison
used in \fontstringA (font-ini.tex). However, the \ifx is never true: the
\else branch is always taken. 

Anyone have clues about these low-level commands that I've never really
used before?

Thanks,
adam

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl@comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-13 23:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-12  8:52 Font switch and memory Adam Lindsay
2003-04-13 18:40 ` Hans Hagen
2003-04-13 23:47   ` Adam Lindsay

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).