Code Monkey home page Code Monkey logo

neuer-jef-eud-logo-generator's People

Contributors

cweickhmann avatar

Watchers

 avatar

neuer-jef-eud-logo-generator's Issues

Fix styling: Button colours

TODO: Fix the button colours to something more beautiful and functional.
The button should be easily readable, responsive (hover colour should actually indicate hovering and upon deactivation should be noticeably greyed out).

Testing/Implementation: Embedding into HTML code

Description

The current idea is to embed the generator simply by adding an empty <div> element with the proper id and load the required JS file.

Problems

  1. This currently works unsatisfyingly: in addition to loading the script itself (logo-generator.js), pablo.js must be loaded. This should be improved by letting logo-generator.js load pablo.js by a call.
  2. The CMS Wordpress does not allow embedding <script> tags without large changes to its default configuration. This may be similar with other CMS, e.g. TYPO3. Writing a backend-plugin for all of them does not seem to be a solution... Other options?

SVG does not contain font

Description

The SVGs shipped in the ZIP archive do only refer to a font name ("Roboto Light" in case of the EUD logo). Unless that font is installed on the target system, the SVG will not be rendered correctly.

Possible Solutions

  • Embed font in SVG (is this even possible in a reliable manner)?
  • Add font and instructions to ZIP archive (add special assets property to assets/.json)

Tidy up "Hinweis"/"Note" with proper CSS/JS

Description

The "Hinweis"/"Note" is static HTML, lacking any styling at this point. It was intended to be shown as a hovering note, bubble or upon clicking/hovering a help icon. This has not yet been implemented.

Ideas

...

Font width in rsvg-convert rendering

Description

rsvg-convert seems to ignore certain font-related properties (or interpret them differently from Inkscape).
The width of text lines is considerably larger in the rsvg-convert-rendered files than in the browser- or Inkscape-rendering.

Solutions

Unclear. Maybe file a bug with the rsvg team?

Dependency issue: rsvg-convert

Description

While rsvg-convert seems to be available on quite a few webhosting services, it may not be around on all of them, nor may it support all the features wanted (cf. #3).

Todo

Search for php-native SVG renderers that can produce vector output (PDF) and raster output (e.g. PNG).

Dependency issue: Fonts installation for rsvg-convert

Description

As of now, rsvg-convert requires fonts to be installed in a font-directory, either for the whole system or for the user. At all-inkl.de this was not an issue since the user font directory was available ($WEBROOT/.fonts, although I remember that it was not easy to find out about that) but with schlundtech.de (where EUD is currently hosted) this seems to be less obvious.

Todo

Search for other solutions like in issue #10, that do not depend on a somewhat global path but would accept a font location that can be set freely by the developers.

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.