Hello.

    I think that Dominik Seichter's merging of this fix has broken "make
install".  Until this morning I had a local copy of SVN #1202 (with some
minor private changes).  One on of my development machines I did an "svn
up", which brought me to version #1227.  I then did a "make clean && make
uninstall && make install".  "Make install" appears to NOT install
"PdfFontMetricsBase14.h" into "/usr/local/include/podofo" as I would expect
it to.  This causes my own application to fail to compile:

djenk...@djenkins-vm ~/code/capybara $ make all
g++ --std=c++0x -ggdb -O2 -Wall -Wno-write-strings -fPIC -I./
-I/usr/include/openssl -DDEBUG -D_GNU_SOURCE -D__SVN_REVISION__=\"481\"
-I/usr/include/postgresql-8.3 -I/usr/include/uuid -I/usr/include/freetype2
-fpch-preprocess -c lib/common.h -o lib/common.h.gch
In file included from /usr/local/include/podofo/PdfFont.h:28,
                 from /usr/local/include/podofo/PdfFontCache.h:28,
                 from /usr/local/include/podofo/PdfDocument.h:26,
                 from /usr/local/include/podofo/podofo.h:49,
                 from lib/common.h:38:
/usr/local/include/podofo/PdfFontMetrics.h:26:34: error:
PdfFontMetricsBase14.h: No such file or directory


### From my private podofo revision directory:

djenk...@djenkins-vm ~/code/podofo $ find /usr/local/include/podofo . -name
PdfFont.h -o -name PdfFontMetricsBase14.h
/usr/local/include/podofo/PdfFont.h
./src/PdfFont.h
./src/PdfFontMetricsBase14.h


djenk...@djenkins-vm ~/code/podofo $ svn info .
Path: .
URL: https://podofo.svn.sourceforge.net/svnroot/podofo/podofo/trunk
Repository Root: https://podofo.svn.sourceforge.net/svnroot/podofo
Repository UUID: f068efa2-cb12-0410-9b19-e61e8c05d287
Revision: 1227
Node Kind: directory
Schedule: normal
Last Changed Author: domseichter
Last Changed Rev: 1227
Last Changed Date: 2010-05-02 05:53:37 -0500 (Sun, 02 May 2010)


And, my private changes (just to rule them out):


djenk...@djenkins-vm ~/code/podofo $ svn diff
Index: src/PdfParser.cpp
===================================================================
--- src/PdfParser.cpp   (revision 1227)
+++ src/PdfParser.cpp   (working copy)
@@ -46,7 +46,7 @@
 #define PDF_XREF_ENTRY_SIZE 20
 #define PDF_XREF_BUF        512

-#define PODOFO_VERBOSE_DEBUG
+//#define PODOFO_VERBOSE_DEBUG

 namespace PoDoFo {






On Sun, May 2, 2010 at 10:03 AM, Ian Curington <i...@acm.org> wrote:

> As there was no reply to the previous message on this topic, we
> have gone ahead and implemented support for Base14 built-in fonts
> and contributed the new features to the library.
> Thank you very much to Dominik for cleanup, name changes and merging
> into SVN.
>
> This has been tested on Win32 VS2005, VS2008 32-bit, Vista x64,
> and GCC linux x64.
>
> The support for Base14 is automatic, that is, if you ask for a font name
> matching one of the Base14 names, it gets used. There is no special
> flag or mode switch required.
>
> The current design choice is to always use Base14 if available even if
> some external system font (to be embedded) was available with the same
> name, as file size and efficiency is rated higher than
> matching an exact font in minute detail. If this is not want you
> want, I'm sure the code can easily be patched.
>
> There is a small remaining issue that font metrics return zero for
> height on symbols and zingbats, but at least it gets the width right.
> (contributions welcome!)
>
> Note also the new test case, a simple enhancement to
> HelloWorld to use the new fonts. The new example can be found in
> examples\helloworld-base14.
>
> --
> -- Ian Curington -- i...@acm.org  ---
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Podofo-users mailing list
> Podofo-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/podofo-users
>
------------------------------------------------------------------------------
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to