Giter Club home page Giter Club logo

artwiz-fonts-wl's Introduction

Description

A set of modified artwiz fonts (original site) based on artwiz-aleczapka and artwiz-latin1, with:

  • Full ISO/IEC 8859-1 support (German, Portuguese, Swedish etc. characters; equivalent to the Basic Latin and Latin-1 Supplement blocks of Unicode)
  • Glyph names matching standard Unicode character names,
  • A bold variant of each font. (based on artwiz-latin1's bold fonts, but with some fixes; most notably, font bounding box corrections)

Prerequisites

For OTF output:

For PCF (legacy) output:

Building

Building is rather straightforward:

make

This will create a build directory, and create generated .pcf and .otf files there.

You can opt to only generate either .pcf or .otf files by running make pcf or make otf.

If you wish to clean up the build output, you can run make clean.

Installation

You have two options for installation: either installing the fonts system-wide (the default) or installing them in your home directory. (which doesn't require root access)

System-wide installation

sudo make install

This will install the fonts to /usr/share/fonts/artwiz-fonts-wl, and create the Xorg config file /etc/X11/xorg.conf.d/40-x-fonts.conf to enable them. It will also run fc-cache to update the system fontconfig cache.

You may specify values for the DESTDIR, SYSCONFDIR, PREFIX, FONTDIR, or TARGET variables after make in order to override the default paths. (defaults: DESTDIR=/, SYSCONFDIR=/etc, PREFIX=/usr, FONTDIR=$(PREFIX)/share/fonts, TARGET=$(FONTDIR)/artwiz-fonts-wl)

You can also opt to only install either .pcf or .otf fonts using sudo make install-pcf or sudo make install-otf.

Home directory installation

Currently, only the OTF variant can be installed in your home directory.

make install-user

This will install the .otf fonts into ~/.fonts/artwiz-fonts-wl/, and then regenerate the fontconfig cache for the current user.

Fontconfig configuration

If you use Ubuntu or another distro that disables bitmap fonts in fontconfig by default, you'll have to re-enable them:

rm /etc/fonts/conf.d/30-debconf-no-bitmaps.conf

On Arch Linux, this file is named /etc/fonts/conf.d/70-no-bitmaps.conf, and the file /etc/fonts/conf.avail/70-yes-bitmaps.conf should be linked in its place:

rm /etc/fonts/conf.d/70-no-bitmaps.conf
ln -s /etc/fonts/conf.avail/70-yes-bitmaps.conf /etc/fonts/conf.d/

Testing Without Installation

Do the following:

  • Update the fontconfig cache:

     fc-cache -fv /PATH/TO/artwiz-fonts-wl
    
  • Create a new file /etc/X11/xorg.conf.d/40-x-fonts.conf with the contents:

     Section "Files"
     	FontPath "/PATH/TO/artwiz-fonts-wl"
     EndSection
    
  • Add this to your fontconfig config file (eg. /etc/fonts/local.conf):

     <dir>/PATH/TO/artwiz-fonts-wl:unscaled</dir>
    
  • If you use Ubuntu or another distro that disables bitmap fonts in fontconfig by default:

     rm /etc/fonts/conf.d/30-debconf-no-bitmaps.conf
    

    On Arch Linux, this file is named /etc/fonts/conf.d/70-no-bitmaps.conf, and the file /etc/fonts/conf.avail/70-yes-bitmaps.conf should be linked in its place:

     rm /etc/fonts/conf.d/70-no-bitmaps.conf
     ln -s /etc/fonts/conf.avail/70-yes-bitmaps.conf /etc/fonts/conf.d/
    
  • Either restart X, or run:

     xset +fp /PATH/TO/artwiz-fonts-wl
    
  • Test it:

     xlsfonts | grep drift
     fc-list | grep drift
    

NOTE: Your installation may vary depending on your distro.

GTK Menus

You might want to use these fonts in GTK 2.x apps menus and other widgets. (screenshot)

Edit ~/.gtkrc.mine, and add:

gtk-font-name = "snap 10"

and ensure that ~/.gtkrc-2.0 contains:

include "/home/your_home/.gtkrc.mine"

(your_home is just an example)

License

artwiz-fonts-wl is released under the terms of the GNU General Public License (GPL) version 2. Read file COPYING for detailed info.

The Artwiz fonts were originally released under the [ZIWTRA B00GIE LICENSE (ZBL)][ZBL].

[ZBL]: https://web.archive.org/web/20011214092005/http://artwiz.artramp.org/LICENSE)

artwiz-fonts-wl's People

Contributors

whitelynx avatar

Stargazers

 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.