"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xhtml2pdf/default.py" between
xhtml2pdf-0.2.6.tar.gz and xhtml2pdf-0.2.7.tar.gz

About: xhtml2pdf is a HTML/CSS to PDF converter written in Python.

default.py  (xhtml2pdf-0.2.6):default.py  (xhtml2pdf-0.2.7)
skipping to change at line 23 skipping to change at line 23
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from reportlab.lib.pagesizes import (A0, A1, A2, A3, A4, A5, A6,A7, A8, A9, A10, from reportlab.lib.pagesizes import (A0, A1, A2, A3, A4, A5, A6,A7, A8, A9, A10,
B0, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10 , B0, B1, B2, B3, B4, B5, B6, B7, B8, B9, B10 ,
C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10 , C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10 ,
JUNIOR_LEGAL, HALF_LETTER, GOV_LETTER, GOV_ LEGAL, TABLOID, LEDGER, JUNIOR_LEGAL, HALF_LETTER, GOV_LETTER, GOV_ LEGAL, TABLOID, LEDGER,
ELEVENSEVENTEEN, LEGAL, LETTER) ELEVENSEVENTEEN, LEGAL, LETTER)
from xhtml2pdf import util
PML_WARNING = "warning" PML_WARNING = "warning"
PML_ERROR = "error" PML_ERROR = "error"
PML_EXCEPTION = "PML Exception" PML_EXCEPTION = "PML Exception"
PML_PREFIX = "pdf:" PML_PREFIX = "pdf:"
#CLASS = 1 #CLASS = 1
BOOL = 2 BOOL = 2
FONT = 3 FONT = 3
COLOR = 4 COLOR = 4
FILE = 5 FILE = 5
skipping to change at line 614 skipping to change at line 612
DEFAULT_LANGUAGE_LIST = { DEFAULT_LANGUAGE_LIST = {
"arabic": "arabic", "arabic": "arabic",
"hebrew": "hebrew", "hebrew": "hebrew",
"persian": "persian", "persian": "persian",
"urdu": "urdu", "urdu": "urdu",
"pashto": "pashto", "pashto": "pashto",
"sindhi": "sindhi" "sindhi": "sindhi"
} }
DEFAULT_ASIAN_FONT = util.get_default_asian_font()
DEFAULT_FONT = { DEFAULT_FONT = {
"courier": "Courier", "courier": "Courier",
"courier-bold": "Courier-Bold", "courier-bold": "Courier-Bold",
"courier-boldoblique": "Courier-BoldOblique", "courier-boldoblique": "Courier-BoldOblique",
"courier-oblique": "Courier-Oblique", "courier-oblique": "Courier-Oblique",
"helvetica": "Helvetica", "helvetica": "Helvetica",
"helvetica-bold": "Helvetica-Bold", "helvetica-bold": "Helvetica-Bold",
"helvetica-boldoblique": "Helvetica-BoldOblique", "helvetica-boldoblique": "Helvetica-BoldOblique",
"helvetica-oblique": "Helvetica-Oblique", "helvetica-oblique": "Helvetica-Oblique",
"times": "Times-Roman", "times": "Times-Roman",
 End of changes. 2 change blocks. 
4 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)