Ibex dotnet core beta [26 April 2019]

Status

The dotnet core beta version of Ibex PDF Creator is compiled with Visual Studio 2017 version 15.9.11 using the dotnet core SDK version 2.2.106

Downloads

ibexdotnetcore41006.zip

Ibex Core for .Net Core 2.2. Released 11 May 2019

Download

Testing on Windows

Download the file listed above, create new directory and uzip it into that directory

If you have not already done so, install a dotnet core runtime or SDK from
https://dotnet.microsoft.com/download/dotnet-core/2.2

Execute Ibex by passing the 'dotnet' command the full path to IbexDotnetCoreCLI.dll and additional parameters:

      dotnet IbexDotnetCoreCLI.dll svgradial.fo svgradial.pdf
    

This should create the file svgradial.pdf

To use the Ibex DLL from your own assembly create a reference to IbexDotnetCore.dll

Testing on Linux

Download the file listed above, create new directory and uzip it into that directory

If you have not already done so, install a dotnet core runtime or SDK.

The intructions for installing the runtime fon Ubuntu linux can be found at
https://dotnet.microsoft.com/download/linux-package-manager/ubuntu18-04/runtime-2.2.0

Execute Ibex, by passing the 'dotnet' command the full path to IbexDotnetCoreCLI.dll and additional parameters:

      dotnet IbexDotnetCoreCLI.dll svgradial.fo svgradial.pdf
    

You should see output like this:

      ibex running
      info:[beta] ibex client on linux
      info:[beta] Added font search path /usr/share/fonts/truetype
      info:Loading fonts for Linux platform
      info:total font files found 265
      info:[beta] time to read font headers 533ms
      Ibex 4.10.0.3 Pro running...
      info:svgradial.fo->svgradial.pdf
    

This should create the file svgradial.pdf

To use the Ibex DLL from your own assembly create a reference to IbexDotnetCore.dll

Using the Ibex API

To create a simple Ibex example in C# do follow these steps:

  • cd into the directory you extracted the zip file to
  • Make a new project (called testibex):
    dotnet new console --name testibex

    This will make new subdirectory called testibex

  • Change to the project directory
  • cd testibex
  • Copy the test files into the current directory
    cp ../*radial* .
  • Edit Program.cs to be this:
    using System;
    using ibex4;
    public class Simple {
        static void Main( string[] args ) {
           FODocument doc = new FODocument();
           doc.generate( "svgradial.fo", "svgradial.pdf" );
        }
    }
    
  • Add a reference to the .csproj file: edit it and insert this:
    <ItemGroup>
      <Reference Include="Ibex">
        <HintPath>../IbexDotnetCore.dll</HintPath>
      </Reference>
    </ItemGroup>
          
  • Build the project:
    dotnet build
  • Run the project:
    dotnet run
  • Test the output:
    okular svgradial.pdf
          

Documentation

The Ibex manual can be downloaded from http://www.xmlpdf.com/builds/ibex.pdf

Limitations

Right-to-left languages such as Arabic and Hebrew are not yet supported.

Type 1 fonts are not yet supported. TrueType fonts are supported.

There is no runtime or developer license support in the beta.

Support

We are interested in your feedback.
All support is provided by email. Please send support requests to support@xmlpdf.com.

Copyright (c) 2002-2019 Visual Programming Limited