Re: [NTG-context] rotate problem (was: fonts/borders)

2005-12-21 Thread Henning Hraban Ramm

Am 2005-12-20 um 23:15 schrieb Hans Hagen:
I'm thinking about utilizing border fonts and how to make  
automatic  frames for use with \framed (I guess that's still too  
hard for me,  but let's see...)


think backgrounds and leaders:

if needed i can add something like Border to supp-fun or so ...

probably some scaling is involved as well

Thank you very much!

I'm just playing around with your code und found that rotate seems to  
set its angle globally:

In
\definesymbol [CC ulp7][\CeltSymbol{81}]
\definesymbol [CC urp7][{\rotate[270]{\CeltSymbol{81}}}]
\definesymbol [CC lrp7][{\rotate[180]{\CeltSymbol{81}}}]
\definesymbol [CC llp7][{\rotate[90]{\CeltSymbol{81}}}]
each of the rotated symbols is rotated 90°

What can I do?

Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] rotate problem

2005-12-21 Thread Hans Hagen

Henning Hraban Ramm wrote:


Am 2005-12-20 um 23:15 schrieb Hans Hagen:

I'm thinking about utilizing border fonts and how to make  
automatic  frames for use with \framed (I guess that's still too  
hard for me,  but let's see...)



think backgrounds and leaders:

if needed i can add something like Border to supp-fun or so ...

probably some scaling is involved as well


Thank you very much!

I'm just playing around with your code und found that rotate seems to  
set its angle globally:

In
\definesymbol [CC ulp7][\CeltSymbol{81}]
\definesymbol [CC urp7][{\rotate[270]{\CeltSymbol{81}}}]
\definesymbol [CC lrp7][{\rotate[180]{\CeltSymbol{81}}}]
\definesymbol [CC llp7][{\rotate[90]{\CeltSymbol{81}}}]
each of the rotated symbols is rotated 90�

What can I do?


use rotation=270 instead -)

in your case, also play with:

% \dostepwiserecurse{0}{360}{10}
%   {\startlinecorrection[blank]
%\hbox
%  {\expanded{\setuprotate[rotation=\recurselevel]}%
%   \traceboxplacementtrue
%   \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=depth] 
{\ruledhbox{\bfb  (depth)%
%   \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=fit]   
{\ruledhbox{\bfb(fit)%
%   \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=broad] 
{\ruledhbox{\bfb  (broad)%
%   \hbox to 
.2\hsize{\hss\ruledhbox{\rotate[location=normal]{\ruledhbox{\bfb 
(normal)%
%   \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=high]  
{\ruledhbox{\bfb   (high)}

%\stoplinecorrection}

Hans
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] rotate problem

2005-12-21 Thread Henning Hraban Ramm

Am 2005-12-21 um 14:43 schrieb Hans Hagen:

In
\definesymbol [CC ulp7][\CeltSymbol{81}]
\definesymbol [CC urp7][{\rotate[270]{\CeltSymbol{81}}}]
\definesymbol [CC lrp7][{\rotate[180]{\CeltSymbol{81}}}]
\definesymbol [CC llp7][{\rotate[90]{\CeltSymbol{81}}}]
each of the rotated symbols is rotated 90�

use rotation=270 instead -)


#-/ oh me stupid, thank you.

%   \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=depth]  
{\ruledhbox{\bfb  (depth)%
%   \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=fit]
{\ruledhbox{\bfb(fit)%
%   \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=broad]  
{\ruledhbox{\bfb  (broad)%
%   \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=normal] 
{\ruledhbox{\bfb (normal)%
%   \hbox to .2\hsize{\hss\ruledhbox{\rotate[location=high]   
{\ruledhbox{\bfb   (high)}


thank you again.
Unfortunately I reckognized that the celtic border font that I tried  
to use has so bad metrics (irregular flesh around the glyph) that the  
task is impossible without adapting the font (and FontForge has no  
fit bounding box command)...



Grüßlis vom Hraban!
---
http://www.fiee.net/texnique/
http://contextgarden.net
http://www.cacert.org (I'm an assurer)

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context