BDF File Format Export?

I have an old install that has the file
~/Library/Application Support/Glyphs/Plugins/BDF.glyphsFileFormat

which no longer works as I imagine it was for the SDK as of 2017.

Is there a workaround to export as BDF?

My workflow was to get Fontstruct (export .glyphs) to Bitmap via Glyphs.app BDF export.

Thanks!

1 Like

You can get the latest version directly from the git repo. I fixed the bugs:

Thanks George!

I get further, but now after selecting a filename to save as I see more errors.

A PDF file is produced, but it’s invalid according to the other tools I use.

As stated previously, I am using a glyphs file exported from Fontstruct.

Python exception: object of type 'NoneType' has no len() Check Macro window output.

Traceback (most recent call last):
  File "GlyphsApp/GlyphsApp/plugins.py", line 280, in writeFont_error_
  File "plugin.py", line 72, in export
    self.writeGlyphs(font, f)
  File "plugin.py", line 185, in writeGlyphs
    self.writeGlyph(g, file)
  File "plugin.py", line 157, in writeGlyph
    if len(glyph.unicode) >=4:
TypeError: object of type 'NoneType' has no len()

Is the BDF plugin still supported? Or is there another way you’re handling this now? I’m trying to export a .bdf file and though I’ve downloaded the plugin I’m not seeing anything new in the export panels.


Edit: It seems like this might be related, but I don’t quite know what to do about this. (I’m on an M1 Macbook Pro running Glyphs 3.)

I’ll update it. Until then, you can run Glyphs in Rosetta mode. Then the plugin should work.

I updated the plugin. It should work in Glyphs 3, now. There is a bug in pyobjc so it will not work in Glyphs 2 under macOS 12.3.

1 Like

Hi Georg. The plugin does not work on my version (3068).
Also, the github refers to the “Glyph Note plugin” through the Plugin Manager :thinking:
BDF plugin is not available in the Plugin Manager.

Any Ideas?

This is my Error Message

El plugin BDF.glyphsFileFormat ha ocasionado un error. ActualĂ­celo abriendo el gestor de plugins o volviendo a descargarlo.

Detalles:Traceback (most recent call last):

File “plugin.py”, line 24, in

ModuleNotFoundError: No module named ‘LaunchServices’

App:3.1-3133 Plugin:1.1-3

Can you run this in the macro window an post the result:

import sys, objc
print(sys.version)
print("objc:", objc.__version__)