Code Monkey home page Code Monkey logo

bdfmag's Introduction

bdfmag fontin fontout i
fontinout: filenames
i: 2 >= integer < 1<<16

for magnifying bitmap fonts in BDF format.
current font renderers do not support rescaling of bitmap fonts?? more ideal would be to scale within the font renderer, allowing modern support of raster fonts. but this approach is immensely simpler.
BDF was chosen due to it being the most common raster-font format in modern use, in addition to being relatively human-readable.

the tools i attempted rescaling with: gbdfed and fontforge, do not support rescaling bitmap fonts.
the result of most programs attempting to rescale a bitmap font is an increase of character spacing, while the characters remain the same pixel size. ideally the font renderer should detect a bitmap font, and floor the scale to an integer multiple of the original to apply a rescaling.

bdfmag only supports integer multiples, as floating point rescaling defeats the purpose and beauty of raster fonts.

bdfmag's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.