Simon Sapin
|
ebb3258f18
|
Do not make a TextFragment at all for text with font-size: 0
|
2011-08-26 15:27:41 +02:00 |
|
Simon Sapin
|
a7961ff98d
|
Move text drawing from CairoContext to TextFragment.
|
2011-08-26 15:24:42 +02:00 |
|
Salem Harrache
|
eaec6b9576
|
Bug fix : use FakeTextLineFragment for textbox with font-size 0
|
2011-08-26 13:56:00 +02:00 |
|
Simon Sapin
|
62a4a14be8
|
Handle <br> elements.
|
2011-08-25 12:52:36 +02:00 |
|
Salem Harrache
|
ea2752be1a
|
draw text-decoration (underline/overline/line-through) in draw package and not anymore in TextFragment
|
2011-08-24 14:58:25 +02:00 |
|
Salem Harrache
|
cf137b4ccf
|
remove text-decoration from TextFragment
|
2011-08-24 11:39:04 +02:00 |
|
Simon Sapin
|
388a7a586a
|
Remove calls to the CSS serializer in weasy.text
|
2011-08-21 00:28:10 +02:00 |
|
Simon Sapin
|
c709645a6f
|
Fix inifinite loop on forced line beaks (ie. preserved '\n')
|
2011-08-20 23:44:22 +02:00 |
|
Guillaume Ayoub
|
59691a924e
|
Merge branch 'master' of github.com:Kozea/WeasyPrint
Conflicts:
weasy/text.py
|
2011-08-19 16:54:57 +02:00 |
|
Guillaume Ayoub
|
dd65050279
|
Clean weasy/text
|
2011-08-19 16:52:56 +02:00 |
|
Salem Harrache
|
1b9d33b2a1
|
add vertical align processing for default value (baseline)
|
2011-08-19 14:28:55 +02:00 |
|
Salem Harrache
|
20c4536c57
|
remove unused getter from TextFragment class, and add baseline computing from pango
|
2011-08-19 10:35:56 +02:00 |
|
Simon Sapin
|
4594acba2e
|
Fix text-align handling.
|
2011-08-15 23:08:18 +02:00 |
|
Simon Sapin
|
f639f4f7e0
|
Rename the weasy.css.utils module to weasy.css.values
|
2011-08-15 13:03:09 +02:00 |
|
Salem Harrache
|
4e0af54c1a
|
fix bugs in TextFragment align, and set position_x to 0 for InlineLevelReplacedBox
|
2011-08-12 18:13:09 +02:00 |
|
Simon Sapin
|
31e3cc5531
|
Bug fix: pango.AttrLetterSpacing() does not like floats.
|
2011-08-12 14:53:49 +02:00 |
|
Simon Sapin
|
eff67ab1a7
|
Remove css parsing/serializing in StyleDict.
|
2011-08-11 17:26:08 +02:00 |
|
Salem Harrache
|
6029d01739
|
compute the linebox height, and add PDFDocument that allows to get a PDF from html
|
2011-08-01 18:28:05 +02:00 |
|
Salem Harrache
|
9a80649adf
|
add docstring dor TextFragment class
|
2011-07-29 01:13:07 +02:00 |
|
Salem Harrache
|
4d53499369
|
add drawing textbox
|
2011-07-28 18:39:35 +02:00 |
|
Salem Harrache
|
3d0ecf8666
|
fix many things for drawing
|
2011-07-27 18:15:57 +02:00 |
|
Salem Harrache
|
02986953bf
|
set font-size from TextBox in TextFragment
|
2011-07-26 17:29:43 +02:00 |
|
Simon Sapin
|
f36692e6c9
|
Remove unused imports.
|
2011-07-19 11:38:54 +02:00 |
|
Salem Harrache
|
d76eec4452
|
add tests for inline formating context
|
2011-07-18 18:25:34 +02:00 |
|
Salem Harrache
|
3907b5730d
|
remove gtk from dependencies
|
2011-07-18 10:38:56 +02:00 |
|
Salem Harrache
|
fe5b269200
|
the breaking linebox functionality works now, but only with textbox children
|
2011-07-13 18:26:39 +02:00 |
|
Salem Harrache
|
14a48f42d5
|
add set_textbox method in TextFragment class, in order to directly apply CSS properties
|
2011-07-12 17:59:31 +02:00 |
|
Salem Harrache
|
dc546b576e
|
fix font in test_text
|
2011-07-11 11:30:32 +02:00 |
|
Salem Harrache
|
efd9f4f5dd
|
add functions in TextLineFragment class
|
2011-07-10 14:06:22 +02:00 |
|
Salem Harrache
|
8e52e6081b
|
add new attributes in TextFragment
|
2011-07-08 18:15:07 +02:00 |
|
Salem Harrache
|
8a7e9cbb31
|
change test concerning text dimension and font
|
2011-07-07 16:40:27 +02:00 |
|
Salem Harrache
|
32dac40fee
|
add test_text
|
2011-07-07 10:08:22 +02:00 |
|
Salem Harrache
|
40753aaf41
|
add class WeasyText to get the read text area size
|
2011-07-02 12:27:13 +02:00 |
|