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
Converting Images Into Minecraft Houses

Converting Images Into Minecraft Houses In this particular project, we turned a 2D Image into Minecraft pixel art and then scaled it in 3D such that i

Mathias Oliver Valdbjørn Jørgensen 1 Feb 2, 2022
A little Python tool to convert a TrueType (ttf/otf) font into a PNG for use in demos.

font2png A little Python tool to convert a TrueType (ttf/otf) font into a PNG for use in demos. To use from command line it expects python3 to be at /

Rich Elmes 3 Dec 22, 2021
A simple programme for converting url into a qr code (.png file)

QrTk A simple lightweight programme for converting url into a qr code (.png file) Pre-Requisites Before installing the programme , you need to run the

Juss Patel 4 Nov 8, 2021
This app finds duplicate to near duplicate images by generating a hash value for each image stored with a specialized data structure called VP-Tree which makes searching an image on a dataset of 100Ks almost instantanious

Offline Reverse Image Search Overview This app finds duplicate to near duplicate images by generating a hash value for each image stored with a specia

null 53 Nov 15, 2022
missing-pixel-filler is a python package that, given images that may contain missing data regions (like satellite imagery with swath gaps), returns these images with the regions filled.

Missing Pixel Filler This is the official code repository for the Missing Pixel Filler by SpaceML. missing-pixel-filler is a python package that, give

SpaceML 11 Jul 19, 2022
Design custom QR codes with this web app!

My-QR.Art This web app lets users design their own QR codes to any domain. It can be acessed on my-qr.art. You can find some more background info abou

Marien Raat 406 Dec 20, 2022
Plots is a graph plotting app for GNOME.

Plots is a graph plotting app for GNOME. Plots makes it easy to visualise mathematical formulae. In addition to basic arithmetic operations, it supports trigonometric, hyperbolic, exponential and logarithmic functions, as well as arbitrary sums and products.Plots is designed to integrate well with the GNOME desktop and takes advantage of modern hardware using OpenGL, and currently supports OpenGL 3.3+.

Alex Huntley 138 Dec 14, 2022
python app to turn a photograph into a cartoon

Draw This. Draw This is a polaroid camera that draws cartoons. You point, and shoot - and out pops a cartoon; the camera's best interpretation of what

Dan Macnish 2k Dec 19, 2022
This Web App lets you convert your Normal Image to a SKETCHED one within a minute

This Web App lets you convert your Normal Image to a SKETCHED one within a minute

Avinash M 25 Nov 10, 2022
This is an app that allows users to upload photos and display and store the photos in a file until the user deletes them.

Qt Photo App This is an app that allows users to upload photos and display and store the photos in a file until the user deletes them. Setup python3 -

Kathy Yang 5 Jan 22, 2022