Glyphtracer is an app for converting images of letters to a font

Overview

Glyphtracer

A screenshot of Glyphtracer

Overview

Glyphtracer takes an image that contains pictures of several letters. It recognizes all them and lets the user tag each letter to a Unicode code point. It then converts the images to vector form and writes them to a FontForge's data format. The font can then be finalized with FontForge.

Dependencies

Glyphtracer requires PyQt5 and Potrace, which is an image vectorizer.

It has been only tested on Linux. It might work on OSX or Windows. It might not.

Usage tips

Glyphtracer only processes 1 bit images, but they can be in any format understood by Qt.

The letter recognition is based on white space. Thus every row must be separated from other rows by a continuous horizontal strip of white. If this is not the case (because, for example, your image is tilted), detection will fail. Similarly letters on a single row have to be separated by vertical white space. Just give your letters lots of "room" on all sides and everything will work.

You might also like...
Create a QR-code Generator app using only Python.

QR-code_Generator Create a QR-code Generator app using only Python. This apps generated a QR code for a single link. Libraryes used in this app -- py

Simple AI app that is guessing color of apple in picture

Apple Color Determinant Application that is guessing color of apple from image Install Pillow, sklearn and numpy, using command for your package manag

Forza painter app with python
Forza painter app with python

forza-painter Discord: A-Dawg#0001 (AE) Supports: Forza Horizon 5 Offically (OTHER v1.405.2.0, MS STORE v3.414.967.0, STEAM v1.414.967.0) Unofficially

Image Compression GUI APP Python: PyQt5

Image Compression GUI APP Image Compression GUI APP Python: PyQt5 Use : f5 or debug or simply run it on your ids(vscode , pycham, anaconda etc.) socia

Qrgenerator - A qr generator app using python3
Qrgenerator - A qr generator app using python3

qrgenerator by Mal4D Hi welcome into qr code generator using python by Mal4d Lin

Rembg is a tool to remove images background.
Rembg is a tool to remove images background.

Rembg is a tool to remove images background.

A large-scale dataset of both raw MRI measurements and clinical MRI images

fastMRI is a collaborative research project from Facebook AI Research (FAIR) and NYU Langone Health to investigate the use of AI to make MRI scans faster. NYU Langone Health has released fully anonymized knee and brain MRI datasets that can be downloaded from the fastMRI dataset page. Publications associated with the fastMRI project can be found at the end of this README.

A simple programming language for manipulating images.

f-stop A simple programming language for manipulating images. Examples OPEN "image.png" AS image RESIZE image (300, 300) SAVE image "out.jpg" CLOSE im

A simple Streamlit Component to  compare images in Streamlit apps. It integrates Knightlab's JuxtaposeJS
A simple Streamlit Component to compare images in Streamlit apps. It integrates Knightlab's JuxtaposeJS

streamlit-image-juxtapose A simple Streamlit Component to compare images in Streamlit apps using Knightlab's JuxtaposeJS. The images are saved to the

Comments
  • refresh metadata to flathub standards

    refresh metadata to flathub standards

    I saw https://nibblestew.blogspot.com/2021/09/glyphtracer-20.html and wanted to have a play with it myself. So I built up a quick flatpak manifest and generated some modern metadata for better Linux desktop integration. The icon was just quickly generated with https://flathub.org/apps/details/org.gnome.design.Emblem and I in no way feel strongly about it - I just needed a placeholder!

    For flatpak you need a reverse dns style dbus name which I've generated out of the repo here. Again, if you have a namespace you prefer then editing it is very easy.

    An obvious next step would be to put a bit more of a buildsystem around this to install the files in the correct location - for the purposes of flatpak I didn't need that but it'd be more useful for other users.

    If you think this is vaguely useful I'll put the manifest on flathub as this is exactly the kind of rarely changing app where sticking it in a container works well.

    opened by nedrichards 1
  • pull request

    pull request

    Hi, I just saw you updated Glyphtracer to Qt5 last year. In 2015, I made a fork of GlyphTracer. I think I sent you a mail back then for merging our projects but it might have ended in limbo... If you're interested to look at it, it's there: https://github.com/osp/osp.tools.fons

    I don't recall all the changes I've made. But from what I recall:

    • I replaced potrace with autotrace so that the tracing is made directly with python-fontforge in order to add the scan of the letter in a layer so that one can have it as a reference if s·he wants to modify it in Fontforge
    • I added a font height and font ascent settings so that the scales are good when opening the font
    • I added zoom scales, new characters
    • I added autowidth and autohint
    • I added spacing characters automatically

    In the repo, I added some guidelines to prepare the images for the scanning.

    Hope this finds your interests!

    opened by latsami 1
  • Add to flathub

    Add to flathub

    As I mentioned in https://github.com/jpakkane/glyphtracer/pull/2 this is exactly the kind of app that works well in a container. I'm going to submit it to flathub, would you like to have commit rights there? That means you'll be able to update it if there's a new release and generally be in charge.

    https://github.com/flathub/flathub/wiki/App-Submission has some more information on this if you're interested.

    opened by nedrichards 1
Owner
Jussi Pakkanen
Jussi Pakkanen
A quick and dirty QT Statusbar implementation for grabbing GIFs from Tenor, since there is no offical or unofficial one I found. This was intended for use under Linux, however it was also functional enough on MacOS.

Statusbar-TenorGIF App for Linux A quick and dirty QT Statusbar implementation for grabbing GIFs from Tenor, since there is no offical one and I didnt

Luigi DaVinci 1 Nov 01, 2021
Cat avatars for adult independent users

Cat avatars for adult independent users Samples (Natasha, wake up!) Usage Check values from https://shantichat.github.io/avacats/index.json: { "sizes"

4 Nov 05, 2021
DrawBot is a powerful, free application for macOS that invites you to write Python scripts to generate two-dimensional graphics

DrawBot is a powerful, free application for macOS that invites you to write Python scripts to generate two-dimensional graphics.

Frederik Berlaen 344 Jan 06, 2023
A linear stairs generation add-on for Blender

Linear Stairs Generator Table of Contents Installation Usage Screenshots Important Notes Requirements Blender 3.0 or newer. Installation: Download a z

Elhanan Flesch 4 May 17, 2022
Image enhancing model for making a blurred image to be somehow clearer than before

This is a very small prject which helps in enhancing the images by taking a Input images. This project has many features like detcting the faces and enhaning the faces itself and also a feature which

3 Dec 03, 2021
Python library for ascii graphics

Python library for ascii graphics

Anton 6 Oct 20, 2021
Make GIFs from time-stacked xarray.DataArrays (time, [optional band], y, x), dead-simple.

GeoGIF Make GIFs from time-stacked xarray.DataArrays (time, [optional band], y, x), dead-simple. from geogif import gif, dgif gif(data_array) dgif(das

Gabe Joseph 47 Dec 22, 2022
Nanosensor Image Processor (NanoImgPro), a python-based image analysis tool for dopamine nanosensors

NanoImgPro Nanosensor Image Processor (NanoImgPro), a python-based image analysis tool for dopamine nanosensors NanoImgPro.py contains the main class

1 Mar 02, 2022
Simple mathematical operations on image, point and surface layers.

napari-math This package provides a GUI interfrace for simple mathematical operations on image, point and surface layers. addition subtraction multipl

Zach Marin 2 Jan 18, 2022
Png2Jpg tool will help you convert from png image format to jpg images format.

PNG 2 JPG All codes assume running from root directory. Please update the sys path at the beginning of the codes before running. Over View Png2Jpg too

Nguyễn Trường Lâu 2 Dec 27, 2021
Imutils - A series of convenience functions to make basic image processing operations such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and Python.

imutils A series of convenience functions to make basic image processing functions such as translation, rotation, resizing, skeletonization, and displ

PyImageSearch 4.3k Jan 01, 2023
Fast Image Retrieval is an open source image retrieval framework

Fast Image Retrieval is an open source image retrieval framework release by Center of Image and Signal Processing Lab (CISiP Lab), Universiti Malaya. This framework implements most of the major binar

CISiP Lab 39 Nov 25, 2022
cmdpxl: a totally practical command-line image editor

cmdpxl: a totally practical command-line image editor Features cmdpxl has many exciting functionalities, including Editing pixels one at a time! Savin

Jieruei Chang 475 Dec 23, 2022
PyPixelArt - A keyboard-centered pixel editor

PyPixelArt - A keyboard-centered pixel editor The idea behind PyPixelArt is uniting: a cmdpxl inspired pixel image editor applied to pixel art. vim 's

Douglas 18 Nov 14, 2022
Python wrappers for external BART computational imaging tools and internal libraries

bartpy Python bindings for BART. Overview This repo contains code to generate an updated Python wrapper for the Berkeley Advance Reconstruction Toolbo

Max Litster 7 May 09, 2022
Convert photos to paintings with python

Convert-photos-to-paintings Before the changes After the changes Before the changes After the changes This code is written in the Python programming l

Amir Hussein Sharifnezhad 3 May 31, 2022
Change the image one color channel at a time.

Building-a-Contact-Sheet This hands-on Project is in Python 3 Programming Specialization offered by University of Michigan via Coursera. change the im

Eszter Pai 1 Jan 03, 2022
Simple Python / ImageMagick script to package images into WAD3s for use as GoldSrc textures.

WADs Out For [The] Ladies Simple Python / ImageMagick script to package images into WAD3s for use as GoldSrc textures. Development mostly focused on L

5 Apr 09, 2022
An executor that wraps 3D mesh models and encodes 3D content documents to d-dimension vector.

3D Mesh Encoder An Executor that receives Documents containing point sets data in its blob attribute, with shape (N, 3) and encodes it to embeddings o

Jina AI 11 Dec 14, 2022
Utilities for SteamVR on Linux

This project contains scripts to improve the functionally of SteamVR on Linux:

86 Dec 29, 2022