Creating icon fonts with vector software (i.e. inkscape) and fontforge?

Through getting some answers here and some research, I've come across a new approach to implementing icons. Rather than as images or css background, it seems you can approach icons as a font. Will...

Inverted glyph: bitmap > SVG via autotrace > glyph via fontforge

I am trying to create a font/glyph by: taking a bitmap image creating an SVG with autotrace (on Linux) importing the outline as a glyph with python-fontforge (glyph.importOutlines(svgfile)...

custom font overriding explicit line-height in Firefox and IE

I have a custom icon font that I've been building in FontForge. I'm experiencing something unusual, in that it changes the height of block-level elements in HTML, but not in...

Extract font and its corresponding cmap in PDF

I am tried several ways to extract font from pdf viz. fontforge, mupdf, pdfparser in C# and also some pythone script. But am just confusing about get exact pair of a font and its cmap embeded in...

How can I troubleshoot Python "Could not find platform independent libraries <prefix>"

I'm trying to use Fontcustom to create an icon font using svg files and fontforge. I'm on OSX.7. However, whenever I run the program I get the error Could not find platform independent libraries...

Change font’s em size via FontForge Python bindings

I have a small Python script to change fonts via FontForge: import fontforge font = fontforge.open('font.ttf') font.em = 1000 font.generate('font.svg') font.close() The crucial point is font.em...

How should I patch fonts for use with the vim plugin Powerline?

My operating system is Windows 8.1 64 bit, I have installed fontforge and fontpatcher, but I don't know how to use it to patch fonts. Could you give me a usage demo,thank you very much! This is...

Cannot get the kerning of some specific .ttf fonts with freetype

I am trying to extract kerning information out of some .ttf fonts with freetype 2.6 library. This is how I get kerning informations (looping through characters): if(...

Extract all SVG between two unicode values fontforge

So I have a font that i made a while back din't do very much of anything with it at the time, i lost a few of the original SVGs when i have reinstalled the OS on my computer, The font is full...

How to override system fonts in OS X?

I want to override a system font in my Mac OS X app with a slightly different variant of my new font. Let's take Georgia as an example. I have a another Georgia.ttf, which is a different version...

Import multiple svg into FontForge in Windows

I have many svg files (around 24) and want to make the a font. I tried to use Fontforge but unfortunately I have to import it one by one in the program. I find this method was used in Linux but I...

FontForge Interpolation Producing Jumbled Results

I'm making a multi-weight font from a Thin weight and a Heavy weight. The glyphs that were correctly interpolated look good, but the ones that weren't look jumbled and terrible. (I know it looks...

Delete all unused characters from a TTF-font with Fontforge

How can I delete all characters from a TTF font file that are not used in a given text sample with Fontforge? In other words I want to create a subset from an existing font which contains only the...

WkhtmlToPdf multiple font faces / styles

I've read many, many topics about the hassle with multiple font-styles/faces when using wkhtmltopdf. We are currently experiencing problems when using Nunito (provided by Google webfonts) in...

pdf2HtmlEX - Text on html is different than the source pdf

I am using to pdf2htmlEX in order to convert pdf files to html. I also extract the text from the file afterwards. The Problem: I encountered with a file that the text at the converted html is...

FontForge: Export a font's individual glyphs into svg files in batch?

Is it possible to batch export individual glyphs from a font to SVG without having to export them manually one by one? Related (but the other way...

converting an SVG to FontForge's SplineSet format

I'm trying to re-compile a ttf glyph-font based on it's source svg files. I'm using python and FontForge and struggling with converting SVG shape into FontForge's SplineSet format. For example,...

FontForge - Remove anti-aliasing/subpixel rendering when generating TTF font

I have a font that I'm cleaning up in FontForge to fix issues with points being too far from the main shape, causing characters to render with odd slants at certain font sizes. I did this in...

PDFBox: No glyph for U+0050 in extracted font

I'm trying to create new page in document and write some text to it, while using the font contained in the file. The font is extracted from the resources: PDPage page =...

How can I make a customized font based on DeJaVu?

My favorite font is DeJaVu Sans Mono whose style is book. I often cannot tell P (uppercase) from p (lowercase), so I want to make a customized font based on DeJaVu Sans Mono-book. Note that 0 in...

How to make fontforge a python extension

I've installed font-forge for windows 10. I am currently using python 3.7 and I want to convert image to font. So what I am trying to do is to convert image to .svg using Potrace then converting...

Fontforge: How to "remove overlaps" making work

I create an arrow in TikZ and convert it to svg (pdf2svg file.pdf file.svg). Then I import my output.svg into FontForge and choose there Element --> Overlap --> remove. Finally I put the...

How to install imagemagick and other homebrew dependencies in GitHub Actions/Workflows config?

I had to do this basically on my Mac to get the required dependencies wired up locally for my package: brew cask install java brew install graphicsmagick brew install imagemagick brew install...

Am I caching right with actions/cache for GitHub Actions on Windows and MacOS?

My config is this: # # Name. # name: build # # Triggers. # on: pull_request: paths-ignore: - '**.md' push: branches: - build paths-ignore: - '**.md' # #...

How to merge two icon (FontAwesome) .ttf files and then extract just the icons needed

I'm surprised this is turning out to be so difficult; it's so simple in concept. I use a variety of FontAwesome icons in my NativeScript app. With FontAwesome 4 these were all in a single file....

How to convert a set of images into a font `.ttf` file with python?

Scenario I have a set of images named 32.png,..,126.png of handwritten letters pertaining to the ASCII printable characters of the number in the filenames, and I intend to convert these into a...

macos 10.12 upgrade to icu4c 67.1 failed

I'm using a older iMac which can't upgrade macos to above 10.12. When I do brew upgrade fontforge, it failed at upgraded fontforge dependency icu4c. Following is partial log. Googling didn't...

How to create own font with emojis included (Maybe with Fontforge, Python)?

I want to create my own .ttf font. It should contains emojis. I have some Images (emojis) and I want to put these in a new font (I don't want to edit an existing font and I don't have an empty...

How to merge an emoji TTF file and a font TTF file?

I'd been trying to merge my favorite fonts, so that I could use them as my system default font. I succeeded merging two fonts using the zFont tool app, but when I tried to merge an emoji TTF file...

How is FreeType calculating advance?

I am trying to figure out how the FreeType Library is calculating the FT_GlyphSlotRec_'s advance variable. According to the comment blocks above this structure, this variable would be the same as...