# Create Font with Batik

**URL:** https://discourse.processing.org/t/create-font-with-batik/11105
**Category:** Coding Questions
**Created:** [May 10, 2019, 1:34pm UTC](https://discourse.processing.org/t/create-font-with-batik/11105 "2019-05-10T13:34:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Stanlepunk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/stanlepunk/32/11509_2.png) [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)
#### Post date: [May 10, 2019, 1:34pm UTC](https://discourse.processing.org/t/create-font-with-batik/11105/1 "2019-05-10T13:34:38Z")

</div>

Hello, If any body have a knowledge and Processing exemple with `Batik SVG` system with a focus on `Font` i’m very interresting. I try to make a font with Batik to create a cloud points with it like `Geomerative`, but I cannot mange to create font, so i’m locked at the first step of my research.

when I write this sentence the font creat is null

```auto
org.apache.batik.svggen.font.Font font;
String font_path = "/Users/.../.../Automaton Caps Light SSi Light.ttf";
font = org.apache.batik.svggen.font.Font.create(font_path);
println(font);

```

link : [https://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/svggen/font/Font.html](https://xmlgraphics.apache.org/batik/javadoc/org/apache/batik/svggen/font/Font.html)

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [May 13, 2019, 7:12am UTC](https://discourse.processing.org/t/create-font-with-batik/11105/2 "2019-05-13T07:12:06Z")

</div>

Have your tried it with a ttf font that Batik provides as a demo? Might be ttf features in Automaton Caps Light SSi Light.ttf that it doesn’t like.

Also, I’m assuming that you are using a real path, checked file permits etc., and the font file is valid and works when you test in other contexts…

---

<div class="post-metadata">

### Author: ![Stanlepunk](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/stanlepunk/32/11509_2.png) [@Stanlepunk](https://discourse.processing.org/u/Stanlepunk)
#### Post date: [May 13, 2019, 7:55am UTC](https://discourse.processing.org/t/create-font-with-batik/11105/3 "2019-05-13T07:55:07Z")

</div>

Nop, I don’t try with the ttf provided for the demo, I try it this after-noon.
