On Thu, Nov 25, 2010 at 08:16:01PM +0000, Mohamed Mohamed wrote:
> 
> Hello,
> 
> Thanks very much. I am pleased to say that I have complied the latest
> CVS sources under Cygwin. I also ran the PDFEdit program. It looks ok
> however, I get errors cannot find fonts when I open a couple of pdf
> files. I have listed all the fonts under Cygwin and fonts are there.
> How I can get PDFEdit to see them. Please let me know

You have to make sure that freetype2 and type1 fonts are installed and
they are available at correct locations (this depends on the system
setting but I don't know how this works with Cygwin).

I would do something like:
strace -f pdfedit DOCUMENT 2>&1 | grep -i "stat.*font"
and check out the output so that you can get an idea where the pdfedit
is looking at and check whether those fonts are installed there or at
other location.

My output looks like:
$ strace -f pdfedit file.pdf 2>&1 | grep -i "stat.*font"
stat64("/etc/fonts/fonts.conf", {st_mode=S_IFREG|0644, st_size=5287, ...}) = 0
stat64("/etc/fonts/conf.d", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
stat64("/etc/fonts/conf.d/20-fix-globaladvance.conf", {st_mode=S_IFREG|0644, 
st_size=912, ...}) = 0
stat64("/etc/fonts/conf.d/20-unhint-small-vera.conf", {st_mode=S_IFREG|0644, 
st_size=1157, ...}) = 0
stat64("/etc/fonts/conf.d/30-defoma.conf", {st_mode=S_IFREG|0644, st_size=1909, 
...}) = 0
stat64("/etc/fonts/conf.d/30-metric-aliases.conf", {st_mode=S_IFREG|0644, 
st_size=3939, ...}) = 0
stat64("/etc/fonts/conf.d/30-urw-aliases.conf", {st_mode=S_IFREG|0644, 
st_size=1164, ...}) = 0
stat64("/etc/fonts/conf.d/40-nonlatin.conf", {st_mode=S_IFREG|0644, 
st_size=2069, ...}) = 0
stat64("/etc/fonts/conf.d/45-latin.conf", {st_mode=S_IFREG|0644, st_size=1837, 
...}) = 0
stat64("/etc/fonts/conf.d/49-sansserif.conf", {st_mode=S_IFREG|0644, 
st_size=545, ...}) = 0
stat64("/etc/fonts/conf.d/50-user.conf", {st_mode=S_IFREG|0644, st_size=245, 
...}) = 0
stat64("/home/miso/.fonts.conf", {st_mode=S_IFREG|0644, st_size=514, ...}) = 0
stat64("/etc/fonts/conf.d/51-local.conf", {st_mode=S_IFREG|0644, st_size=189, 
...}) = 0
stat64("/etc/fonts/conf.d/60-latin.conf", {st_mode=S_IFREG|0644, st_size=1701, 
...}) = 0
stat64("/etc/fonts/conf.d/65-fonts-persian.conf", {st_mode=S_IFREG|0644, 
st_size=9880, ...}) = 0
stat64("/etc/fonts/conf.d/65-nonlatin.conf", {st_mode=S_IFREG|0644, 
st_size=7706, ...}) = 0
stat64("/etc/fonts/conf.d/69-unifont.conf", {st_mode=S_IFREG|0644, st_size=672, 
...}) = 0
stat64("/etc/fonts/conf.d/70-no-bitmaps.conf", {st_mode=S_IFREG|0644, 
st_size=263, ...}) = 0
stat64("/etc/fonts/conf.d/80-delicious.conf", {st_mode=S_IFREG|0644, 
st_size=388, ...}) = 0
stat64("/etc/fonts/conf.d/90-synthetic.conf", {st_mode=S_IFREG|0644, 
st_size=1691, ...}) = 0
stat64("/etc/fonts/conf.d/99pdftoopvp.conf", {st_mode=S_IFREG|0644, 
st_size=366, ...}) = 0
stat64("/usr/share/fonts", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/X11R6/lib/X11/fonts", 0xbfb0682c) = -1 ENOENT (No such file or 
directory)
stat64("/usr/X11R6/lib/X11/fonts", 0xbfb0691c) = -1 ENOENT (No such file or 
directory)
stat64("/usr/local/share/fonts", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, 
...}) = 0
stat64("/home/miso/.fonts", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/share/fonts/X11", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/share/fonts/truetype", {st_mode=S_IFDIR|0755, st_size=4096, ...}) 
= 0
stat64("/usr/share/fonts/type1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/usr/share/fonts/X11/100dpi", {st_mode=S_IFDIR|0755, st_size=163840, 
...}) = 0
stat64("/usr/share/fonts/X11/75dpi", {st_mode=S_IFDIR|0755, st_size=163840, 
...}) = 0
stat64("/usr/share/fonts/X11/Type1", {st_mode=S_IFDIR|0755, st_size=4096, ...}) 
= 0
stat64("/usr/share/fonts/X11/encodings", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
stat64("/usr/share/fonts/X11/misc", {st_mode=S_IFDIR|0755, st_size=40960, ...}) 
= 0
stat64("/usr/share/fonts/X11/util", {st_mode=S_IFDIR|0755, st_size=4096, ...}) 
= 0
stat64("/usr/share/fonts/truetype/freefont", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
stat64("/usr/share/fonts/truetype/msttcorefonts", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
stat64("/usr/share/fonts/truetype/openoffice", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
stat64("/usr/share/fonts/truetype/ttf-bitstream-vera", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
stat64("/usr/share/fonts/truetype/ttf-dejavu", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
stat64("/usr/share/fonts/truetype/ttf-femkeklaver", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
stat64("/usr/share/fonts/truetype/ttf-liberation", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
stat64("/usr/share/fonts/truetype/ttf-lyx", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
stat64("/usr/share/fonts/truetype/ttf-xfree86-nonfree", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0
stat64("/usr/share/fonts/type1/gsfonts", {st_mode=S_IFDIR|0755, st_size=16384, 
...}) = 0
stat64("/usr/share/fonts/type1/mathml", {st_mode=S_IFDIR|0755, st_size=4096, 
...}) = 0
stat64("/usr/share/fonts/X11/encodings/large", {st_mode=S_IFDIR|0755, 
st_size=4096, ...}) = 0

> 
> Thanks again.
> 
> Mohamed 

-- 
Michal Hocko

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Pdfedit-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdfedit-support

Reply via email to