On Thu, 20 Jul 2017 15:05:31 -0600, Hans Hagen <pra...@wxs.nl> wrote:

On 7/20/2017 8:06 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
On Thu, 20 Jul 2017 07:31:00 -0600, Hans Hagen <pra...@wxs.nl> wrote:

On 7/20/2017 3:04 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
Dear gang,
Given a set body font and text, how does one replace all characters of that font in that text with the corresponding rectangular bounding boxes? Once an answer to the above is spelled out: How does one control the width of the lines which make up the bounding boxes?

% \showglyphs

or

\definefontfeature[default][default][boundingbox=yes]

\starttext
     \input sapolsky
\stoptext
 Many thanks, Hans:
 a - Toggling \showglyphs does not have any effect.
b - Is there a way to make the glyphs disappear and show only the boxes?*****
 c- Is there a way to make the boxes frames instead backgrounds?
 *****\start|stopcolor[white] doesn't work when boundingbox is yes.
Well, it's a tracing option so don't expect miracles and integration with other features (like color). I'll add things like

   \definefontfeature[default][default][boundingbox=yes]
   \definefontfeature[default][default][boundingbox=background]
   \definefontfeature[default][default][boundingbox=frame]

   \definefontfeature[default][default][boundingbox={background,empty}]
   \definefontfeature[default][default][boundingbox={frame,empty}]

   \definefontfeature[default][default][boundingbox={frame,red,empty}]

as additional (probably never used) featurecreep but for sure will forget to document it etc etc

Thanks Hans. The current development workflow could use an option to see the bbox structure without seeing the glyphs (along with \showfontkerns as well)... a "geometric" view of the font in action so to speak.

Idris
--
Idris Samawi Hamid, Professor
Department of Philosophy
Colorado State University
Fort Collins, CO 80512
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to