Re: [Numpy-discussion] oblique text

2011-10-05 Thread Alexandre Leray
Thanks Pauli, exactly what I wanted! On 04/10/2011 22:22, Pauli Virtanen wrote: > 04.10.2011 21:10, Alexandre Leray kirjoitti: > [clip] >> But it is not very flexible. For instance, I'd like to control the "line >> spacing" (by adding extra spaces in between letters since it isn't real >> lines).

Re: [Numpy-discussion] oblique text

2011-10-04 Thread Pauli Virtanen
04.10.2011 21:10, Alexandre Leray kirjoitti: [clip] > But it is not very flexible. For instance, I'd like to control the "line > spacing" (by adding extra spaces in between letters since it isn't real > lines). I just found numpy and I have the intuition that it could do the > job since it deals wi

[Numpy-discussion] oblique text

2011-10-04 Thread Alexandre Leray
Dear all, I'm trying to create oblique texts by reordering their letters. Here is an exemple to illustrate this (to be display in a monospaced font): >>> text = """\ ... This ... is ... a ... test""" >>> print(make_oblique(text)) T i h a s i ts e s t So far I have this: d