I've been always wanting to sit down one day and solve this problem; test the speed of manipulating pixels on a Bitmap using the three options: - the convenient but understandably slow Pixels[], - the "interesting" Scanline property and - the Windows API GetDIBits and SetDIBits. I have been traditionally using Pixels for quick work and the Get/SetDIBits for low-level pixel manipulation such as the filters used in ToolBox . Never really used the Scanline property in anger, I was always thinking, DIBits "had" to be quicker. Little I knew... I have been experimenting with two tools that I've written and never released to the public domain. The first is the BMPCreator which I wrote in order to create 256-level grayscale bitmaps, the other is the IconCreator which uses a grayscale bitmap and applies color maps to it, giving you the ability to create different colored versions of the same icon (like in my database visualization tool VirtualTreeNavigator ). Yesterd
Some of you may be familiar with the bitmap (raster) fonts that I have created a few years back or the Raster Font Editor software that I've written for MS Windows. I've been using Linux quite a lot recently so I decided at some point to convert them to BDF (Binary distribution format) files. Here's a quick guide on how to download them and install them: Download Fonts You can either download from here or type this from a terminal window: wget http://www.cylog.org/files/fonts/cylog_fonts_bdf.zip Unzip and Copy fonts In a terminal window type the following: unzip cylog_fonts_bdf.zip mkdir ~/.fonts mv *.bdf ~/.fonts cd ~/.fonts ls ...and ensure you can see the *.bdf files listed. Convert the BDF files to PCF To do the conversion we use the command line utility bdftocpf , and then we remove the BDF files: bdftopcf -o leros10.pcf leros10.bdf bdftopcf -o leros.pcf leros.bdf bdftopcf -o lini.pcf lini.bdf bdftopcf -o yamahana.pcf yamahana.bdf bdftopcf -o ya
It's been 2.5 years since I posted an installation guide of installing Ubuntu 12.10 on VMWare Workstation but the release of Linux Mint 17.1 has prompted me to write an updated guide. This is the third of my guides, acting mostly as a memo for a quick install of new distros on VMWare, my first one written in 2009 ( Linux on VMWare with later additions of other posts full of little hints and reminders (e.g. fonts, keymaps)). Ingredients Please note that these instructions work for most distros, although this post focuses on Mint 17.1 A downloaded ISO image of your favourite distro ( Mint , Mint LMDE , Ubuntu , Debian ) A newly created virtual machine with 2-8GB of RAM, a 40-60GB disk and a couple of CPU cores. Installation Mount the ISO image to your VM's optical drive and boot it up, then follow the instructions to install your distro selecting your preferences (timezone, keyboard layout, etc.). For accessing your VM via ssh from your host, it helps if your Lin
Comments