<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/deco-cow/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/deco-cow/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 03 Sep 2009 10:24:46 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/deco-cow/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Use a well-documented box model and clean up the code</title><link>https://sourceforge.net/p/deco-cow/feature-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Right now, wordaxe heavily uses the ReportLab paragraph code.&lt;br /&gt;
Unfortunately, this is quite complex and hard to understand;&lt;br /&gt;
furthermore there isn't any specification.&lt;/p&gt;
&lt;p&gt;If wordaxe adopted the CSS 2 box model, then we had the specification for free, and we could rewrite the code accordingly.&lt;br /&gt;
This would have the additional benefit that HTML to PDF conversion would become easier and more exact.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">H. von Bargen</dc:creator><pubDate>Thu, 03 Sep 2009 10:24:46 -0000</pubDate><guid>https://sourceforge.net05b828312421b65aaf216d0fffcd014166df7abd</guid></item><item><title>Support widow/orphans control</title><link>https://sourceforge.net/p/deco-cow/feature-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Right now, Wordaxe does not provide widow/orphans control.&lt;br /&gt;
This limitation was accepted to create working split/wrap code without bothering with the additional complexity for this feature.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">H. von Bargen</dc:creator><pubDate>Thu, 03 Sep 2009 10:18:55 -0000</pubDate><guid>https://sourceforge.netdea47c0085620be1f2650a7b7e0b76ed515401c2</guid></item><item><title>Fast kerning/stringwidth implemented in C</title><link>https://sourceforge.net/p/deco-cow/feature-requests/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Note: This requires pure-python kerning to be fully implemented first.&lt;br /&gt;
RL has a fast C version of stringwidth.&lt;br /&gt;
For performance reasons, it would be useful to have the kerning (processing) needed for width calculations and rendering (TJ) done in C as well.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">H. von Bargen</dc:creator><pubDate>Thu, 03 Sep 2009 10:14:39 -0000</pubDate><guid>https://sourceforge.netb6dd1bc6c7f68390a69caf1a8ea9c1dbcbe4f3bd</guid></item><item><title>Kerning support</title><link>https://sourceforge.net/p/deco-cow/feature-requests/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;We now have kerning support for TrueType fonts.&lt;br /&gt;
It should be quite easy (I think) to add kerning for Type1 (AFM) fonts as well.&lt;br /&gt;
I estimate this could be done within 1 or 2 days.&lt;br /&gt;
However, there's a little difference in comparison with TTF:&lt;br /&gt;
For TTF fonts, the kerning info is already present when RL has loaded the font.&lt;br /&gt;
For AFM, RL extracts only the information it needs, not the kerning info (KP, KPX). So it seems necessary to monkey patch RL to avoid parsing the file a second time.&lt;br /&gt;
Here the relevant excerpt from the Adobe's AFM specification (see Adobe website &lt;a href="http://www.adobe.com\" rel="nofollow"&gt;http://www.adobe.com\&lt;/a&gt;):&lt;br /&gt;
"""&lt;br /&gt;
Kerning Data ... (Optional.) ... The section is delimited by the lines StartKernData and&lt;br /&gt;
EndKernData. Kerning data is supplied in two forms: track kerning and pairwise&lt;br /&gt;
kerning. They are treated as subsections within the kerning data section&lt;br /&gt;
and both sections need not be present.&lt;br /&gt;
...&lt;br /&gt;
Pairs-Wise Kerning&lt;br /&gt;
The pair-wise kerning data is surrounded by the keywords:&lt;br /&gt;
StartKernPairs integer&lt;br /&gt;
EndKernPairs&lt;br /&gt;
StartKernPairs0 integer&lt;br /&gt;
EndKernPairs&lt;br /&gt;
StartKernPairs1 integer&lt;br /&gt;
EndKernPairs&lt;br /&gt;
(Required if pair-wise kerning data are present.) integer indicates the number&lt;br /&gt;
of pairs to expect. StartKernPairs and StartKernPairs0 denote writing&lt;br /&gt;
direction 0; StartKernPairs1 denotes writing direction 1. An AFM file can&lt;br /&gt;
contain pair-wise kerning data for more than one writing direction, each&lt;br /&gt;
delimited by the StartKernPairs0 or StartKernPairs1 ... EndKernPairs.&lt;br /&gt;
There is one kerning pair per line. Each line begins with a keyword of the&lt;br /&gt;
form KP, KPH, KPX, or KPY.&lt;br /&gt;
KP name1 name2 numberx numbery&lt;br /&gt;
Name of the first character in the kerning pair followed by the name of the&lt;br /&gt;
second character followed by the kerning vector specified as an (x, y) pair.&lt;br /&gt;
The kerning vector is the amount by which to move the second character&lt;br /&gt;
relative to the first character to position it properly. The kerning vector is&lt;br /&gt;
specified in the standard character coordinate system. As with all metrics, in&lt;br /&gt;
order to use this vector it is necessary to scale it by (current point size)/1000.&lt;br /&gt;
KPH &amp;lt;hex1&amp;gt; &amp;lt;hex2&amp;gt; numberx numbery&lt;br /&gt;
Same as KP, but the byte strings needed to generate the characters are given,&lt;br /&gt;
rather than the names. hex1 and hex2 are hexadecimal values, enclosed in&lt;br /&gt;
angle brackets.&lt;br /&gt;
KPX name1 name2 numberx&lt;br /&gt;
Name of the first character in the kerning pair followed by the name of the&lt;br /&gt;
second character followed by the kerning amount in the x direction (y is&lt;br /&gt;
zero). The kerning amount is specified in the units of the character coordinate&lt;br /&gt;
system.&lt;br /&gt;
KPY name1 name2 numbery&lt;br /&gt;
Same as KPX, but in the y direction (x is zero).&lt;br /&gt;
"""&lt;br /&gt;
I think it should be enough to interpret KP and KPX.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">H. von Bargen</dc:creator><pubDate>Thu, 03 Sep 2009 10:11:14 -0000</pubDate><guid>https://sourceforge.netb2f465305a5f7376459d65b1596994645b02e5b4</guid></item><item><title>Support RL 2.3 new style attribute borderPadding</title><link>https://sourceforge.net/p/deco-cow/feature-requests/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The new attribute borderPadding in the RL standard paragraph implementation needs to be supported by NewParagraph.py as well.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">H. von Bargen</dc:creator><pubDate>Sun, 08 Feb 2009 18:11:54 -0000</pubDate><guid>https://sourceforge.net72900490154e454323914f2ed531f81b469480e6</guid></item><item><title>Supressing hyphenation of literal inline text</title><link>https://sourceforge.net/p/deco-cow/feature-requests/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm using wordaxe indirectly through rst2pdf. In my stylesheet rst2pdf stylesheet I have set &lt;/p&gt;
&lt;p&gt;["literal" , {&lt;br /&gt;
"parent": "normal",&lt;br /&gt;
"fontName": "stdMono",&lt;br /&gt;
...,&lt;br /&gt;
"hyphenation": false&lt;br /&gt;
}],&lt;/p&gt;
&lt;p&gt;because I do not want inline literal text to be hyphenated. However, the hyphenation attribute seems to be ignored for inline styles.&lt;/p&gt;
&lt;p&gt;I think something needs to be done in wordaxe to make this work, but I don't know the inner workings good enough to make a suggestion.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christoph Zwerschke</dc:creator><pubDate>Sun, 08 Feb 2009 14:51:49 -0000</pubDate><guid>https://sourceforge.netc99eec1942e680ddc21e008a3955362dd12d0a79</guid></item><item><title>Hyphenate CamelCase words</title><link>https://sourceforge.net/p/deco-cow/feature-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Soemthing like CamelCaseWord should be hyphenated automatically by the BaseHyphenator: Camel- Case- Words&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">H. von Bargen</dc:creator><pubDate>Sun, 12 Oct 2008 08:51:14 -0000</pubDate><guid>https://sourceforge.netec52b1b138e31b53aaeda9c9ba68a3df9b00484a</guid></item><item><title>Support pyhyphen</title><link>https://sourceforge.net/p/deco-cow/feature-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The pyhnj hyphenation does not work well on my computer and returns wrong results.&lt;/p&gt;
&lt;p&gt;Today I tested pyhyphen from &lt;a href="http://pyhyphen.googlecode.com" rel="nofollow"&gt;http://pyhyphen.googlecode.com&lt;/a&gt;&lt;br /&gt;
which gives much better results.&lt;br /&gt;
It would be nice to support it in wordaxe.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">H. von Bargen</dc:creator><pubDate>Sat, 13 Sep 2008 16:59:29 -0000</pubDate><guid>https://sourceforge.netab25ceb91750f77c91d44cfd63e77398c21736bc</guid></item></channel></rss>