boxesandglue / bagme

boxes and glue made easy - a PDF rendering library for Go using boxes and glue
BSD 3-Clause "New" or "Revised" License
73 stars 2 forks source link

Missing d.ParseCSSString(css) method #3

Closed muhmudrik closed 9 months ago

muhmudrik commented 1 year ago

Hi In your example to use this library (readme), i found that you use the d.ParseCSSString to parse the css string, but i don't this its found anywhere within this repository. Did you mean to use ParseCSSFile?

weaming commented 11 months ago

same issue, change to AddCss trigger index error

pgundlach commented 11 months ago

This is a bug (cause of developing some parts of the code while not updating the other parts).. Thank you very much for your report.

Meanhwile the code in https://github.com/speedata/bagme-examples should work...