Giter Site home page Giter Site logo

aguai / hp2xx Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 640 KB

License: GNU General Public License v2.0

Makefile 6.95% Gnuplot 4.96% Batchfile 0.02% Module Management System 0.96% DIGITAL Command Language 0.59% C 84.19% C++ 2.33%

hp2xx's Introduction

hp2xx

original from http://ftp.gnu.org/gnu/hp2xx/hp2xx-3.4.4.tar.gz
trying to figure out how to build under OSX

Introduction to hp2xx

The hp2xx program is a versatile tool to convert vector-oriented graphics data given in Hewlett-Packard's HP-GL plotter language into a variety of popular graphics formats, both vector- and raster-oriented.

The various supported output formats include Encapsulated PostScript (EPS), PCX, IMG, and several formats intended to facilitate the generation of graphics within TeX documents. In addition, hp2xx output is printable on the HP Laserjet/Deskjet printer series, and it may be used as a HP-GL previewer on many platforms, e.g., X11 and DOS (VGA).

hp2xx first converts all HP-GL data into pure vectors and buffers them internally. It then converts these vectors into a specified output format (vector modes), or rasterizes them (raster modes) on an internal bitmap. In raster modes, hp2xx then translates the bitmap into the output format.

hp2xx's People

Contributors

aguai avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

hp2xx's Issues

How to compile on OSX

The program can be compiled on OSX (12.6.3 here) with these steps

  • Install X11 for Mac OS X (https://www.xquartz.org)
  • In a terminal, create a symbolic link of X11 library with sudo ln -s /opt/X11/include/X11 /usr/local/include/X11
  • Adjust the files according the original ./makes/readme : copy the file ./makes/generic.mak inside ./sources and rename it makefile.
  • Add #include <string.h> in line 59 of file ./sources/getopt.c or you will have a compilation error
  • In a terminal, cd to ./sources
  • enter export LIBRARY_PATH=/opt/X11/lib
  • then make all

This should leads to the compilation of the binary inside the ./sources folder

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.