GithubHelp home page GithubHelp logo

qahirah's Introduction

qahirah's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qahirah's Issues

Support rendering LaTeX symbols?

Hi, does qahirah support rendering latex equations to the SVGSurface? (if the user has LaTeX environment installed on the machine)

Rename README to README.md

If you make it a Markdown file (it currently uses Markdown syntax, but doesn't have the extension), GitHub will render said Markdown to HTML and display it with nice formating.

Currently, it's just rendered as plain text which, while not a big issue, isn't as nice to read.

Seperating the cairo backend ?

It would be interesting to try and implement qahirah in the browser, using Rapydscript or Brython with Canvas instead of Qahirah, any idea of what is involved in splitting the backend out ?

Small changes to work on macos/openbsd

Thank you for a great library!
I was searching for a python cairo/freetype library for macos/openbsd and found your file can be easily adapted to work on them as follows. (the same code works on freetype2.py)
Will you incorporate this kind of small cross-paltform code ?
...
import sys
SYSLIB_LINUX = ["libc.so.6","libfreetype.so.6","libfontconfig.so.1","libcairo.so.2"]
SYSLIBS = {
"darwin":["libc.dylib","libfreetype.dylib","libfontconfig.dylib","libcairo.dylib"],
"openbsd6":["libc.so","libfreetype.so","libfontconfig.so","libcairo.so"],
}.get(sys.platform,SYSLIB_LINUX)

cairo = ct.cdll.LoadLibrary(SYSLIBS[3])
...

Regarding Arc Text.

Is there any way through which i can generate arc text. Like the one imagemagick does ?

SVG output?

Is it possible to draw to an SVGSurface with qahirah and save as the result an svg file?
I found that I can create a surface with

pix = qah.SVGSurface.create(filename = "test.svg", dimensions_in_points = (600, 600)) 

and draw to it - I tried this in the paths example. The output file is created but remains empty.
So, is SVG output supported, and is there a function that should be called at the end to actually write the file?

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.