I have thought about this a bunch of times. My DB of choice is Postgresql. When
you create the database cluster, PG automatically creates at least two
databases. Template1 and the basis of Template1.
I have often thought it would be possible to first let my app connect to
Template1 as it must e
I'm working on a WebObjects project which uses a database of minor
complexity, and am wrestling mentally with finding a good way to let the
first run create the database.
Currently, the first run needs the EOModel's connection record to find the
database (which is created my hand, but empty), and
Hi Christoph,
that’s how I create a PDF using ERPDFGeneration with custom fonts:
PDFTemplate pdfPage = pageWithName(PDFTemplate.class);
NSMutableDictionary config = new NSMutableDictionary();
config.takeValueForKey(new NSArray("Fonts/MyFont.ttf“,
"Fonts/MyOtherFont.ttf"), "fonts");
NSData pdf =
actually the font name would be something like Arial.ttf or Helvetica.ttf
the docs do say 'filename'.
On Jan 30, 2014, at 7:38 AM, Theodore Petrosky wrote:
> the docs say:
>
> (optional) array of font filenames to include for PDF generation
>
> It doesn't say a dictionary.
>
> NSArray
the docs say:
(optional) array of font filenames to include for PDF generation
It doesn't say a dictionary.
NSArray fontsArray = NSArray("Arial", "Helvetica");
Is how I would do it according to the documentation. Of course, I generally
just use JasperReports and convert fonts to .jar files and
Hi List,
I try to include fonts into a PDF document using ERPDFGeneration. The
documentation of ERPFDWrapper tells me that there is a binding called "fonts".
The binding is described as "(optional) array of font filenames to include for
PDF generation".
OK so far. But whatever I set the "fonts