Stuart Jansen wrote:
I am having problems with startlines. I'm using space=yes to preserve
space characters. This works fine with default ConTeXt lm/cm font. When
I use a font I've imported, however, the spaces aren't quite wide
enough. I can fix that with \def\normalspace{\char32}, but then I have
problems with embedded floats.
It sounds like perhaps you could have fixed this during the font
import by using afm2pl instead of afm2tfm (afm2tfm has hardwired
rules for the space factor, afm2pl has a switch that allows
configuration by hand).
But even with afm2tfm, a correct monospace font should have the correct
value assigned. Perhaps the import process worth investigating?
What do I need to fix so that the default \def\normalspace{ } has the
correct width for the current font?
Assuming the font is monospace, you can try this:
\def\normalspace{\hphantom{0}}
Below is an example file that renders fine with lm/cm, but not my font.
Out of curiosity, which font is it?
Greetings,
Taco
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context