GithubHelp home page GithubHelp logo

isabella232 / lasem Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tinyfool/lasem

0.0 0.0 0.0 58.94 MB

Read-only mirror of https://gitlab.gnome.org/GNOME/lasem

Home Page: https://gitlab.gnome.org/GNOME/lasem

License: Other

Shell 0.39% C 90.06% TeX 0.14% HTML 0.26% JavaScript 1.05% CSS 0.01% Lex 1.61% Yacc 2.78% Makefile 0.66% M4 0.38% C++ 0.63% XSLT 1.73% Perl 0.30%

lasem's Introduction

Lasem aims to be a C/Gobject based SVG/Mathml renderer and editor, supporting CSS
style sheets (only rendering is implemented for now). It uses cairo and pango as
it's rendering abstraction layer, and then support numerous output formats: xlib,
PNG, SVG, PDF, PS, EPS...

The API tries to follow the SVG and MathML DOM.

It currently includes two simple applications:

lasem-render, which takes a filename as argument and generates either a SVG, a PDF
or a PS file, depending on the output file extension. There's a debug mode option
(-d) that displays the bounding boxes of elements as blue rectangles, the logical
extents of text as red boxes and the ink extents of text as green boxes. It accepts
either MathML, Latex maths and SVG input. For the latex input, lasemrender uses
the embedded itex2mml library for the conversion to MathML.

lsm-test, which, if launched without argument, renders recursively all svg and mml
files in a directory, and generate an html file which displays the browser
rendering, lasem rendering, and if present the reference output. The html
filename is lasemtest.xml. It's main use is the rendering of the sample files
in the samples directory, by invoking "cd test && ./lsm-test data".

Requirements:

gobject, glib, gio, gdk-pixbuf, gdk, cairo, pangocairo, libxml, bison, flex

For the runtime, the following ttf fonts should be installed: cmr10, cmmi10, cmex10 and cmsy10.
They are provided by the lyx-fonts package in fedora, and the ttf-lyx package in debian/ubuntu.

lasem's People

Contributors

emmanuelp avatar piotrdrag avatar jbrefort avatar dmustieles avatar gjtorikian avatar marv-cz avatar haaninjo avatar aurisc4 avatar mariobl avatar mirosnik1 avatar rffontenelle avatar milocasagrande avatar dooteo avatar muzena avatar espressonightingale avatar askhl avatar aklapper avatar atriwidada avatar vlet avatar ymyasoedov avatar yurchor avatar wylmer avatar ibragimov avatar thanostx avatar serdarsaglam avatar mazurs avatar ryuzakikk avatar frandieguez avatar tmtfx avatar nemequ 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.