Download Latest Version adaFont18feb20.7z (14.5 MB)
Email in envelope

Get an email when there's a new version of AdaFontDemo

Home / 18feb2020
Name Modified Size InfoDownloads / Week
Parent folder
adaFont18feb20.7z 2020-02-19 14.5 MB
READMEaft.md 2020-02-19 2.1 kB
Totals: 2 Items   14.5 MB 0

AdaFonts

ver 1.0.2 -- 18feb20

  • Repaired linux library to greatly enhance linux portability;

ver 1.0.1 -- 4mar19

  • Added glBlendFunc variations example, including High Contrast mode;
  • Removed unused code;

ver 1.0 -- 27feb19

Description

Ada Fonts is a minimalistic example of using truetype fonts in OpenGL Ada applications using Felix Krause's FreeTypeAda package

It is intended to be the modern version of the "glut font" demos from a previous era.

It also uses Stephen Sangwine's PNG-IO package, and thin bindings to OpenGL, SDL2.

More importantly, it shows how to encapsulate the scripts and runtime libraries necessary to easily compile and run on any computer running Windows, OS-X, or GNU/Linux.
The only 3rd-party tool required is an Ada compiler.

Setup & Running:

The application's root directory [~/adafonts/] contains files for deployment on 3 platforms: 1)OS-X, 2)linux, 3)Windows, in addition to all the source code.

Unzip the archive.

Open a commandline terminal, and cd to the install directory.

To initiate, type:

.) binw32\fonttf.exe (Windows)

.) fonttf_osx (OSX)

.) fonttf_gnu (linux)

=======================================================

Build Instructions

Compiling from a commandline terminal:

.) "wcmp.bat fonttf" on Windows

.) "ocmpss.sh fonttf" on OSX

.) "lcmp.sh fonttf" on linux

=======================================================================

AdaFonts is covered by the GNU GPL v3 as indicated in the sources:

Copyright (C) 2019 fastrgv@gmail.com

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You may read the full text of the GNU General Public License at http://www.gnu.org/licenses/.

Source: READMEaft.md, updated 2020-02-19