[XeTeX] xetex tiles incorrectly with the wallpaper package

kmc kmc.best at gmail.com
Tue Oct 27 10:48:47 CET 2009


Hi there,

I recently came across this problem when using wallpaper.sty to tile some
seamless pattern image to construct a background.

Here's a minimal example
====
\documentclass[titlepage]{book}
\usepackage[T1]{fontenc}
\usepackage{wallpaper}
\begin{document}
\title{A pattern tiling test}
\pagestyle{empty}
\ThisTileSquareWallPaper{5}{greyu.png}
\color{white}
\maketitle
\end{document}
====

The image 'greyu.png' is hosted here (you can use your own, of course):
http://img193.imageshack.us/img193/9995/greyu.png

Here are my test result:
1. Compile this file using pdflatex, the resulting pdf looks good
2. Using xelatex, not so good. First, the page has not been wholly tiled,
leaving
a white space at the bottom. Secondly, when zooming the pdf to at least
600%,
I saw white lines around the tile patterns, which means the images are not
seamlessly tiled, maybe xetex add some white spaces around them.

Tested on:  Windows 2000, TeX Live 2009 recent beta version,
TeX 3.1415926 (Web2C 2009)
kpathsea version 5.0.0

xelatex version 3.1415926-2.2-0.9995.2 (Web2C 2009)

Please help, thanks in advance!
--
kmc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20091027/d9244429/attachment.html>


More information about the XeTeX mailing list