Forums

[resolved] [Plugin: wp-mpdf] No wrap on code (9 posts)

  1. swwwolf
    Member
    Posted 2 years ago #

    Is it possible to make that programmer's code (in <pre lang="lang">) in PDF will be without wraping. Wrap on next line is sucks :)

    I played with themes/default.css and default.php, but with no success. Maybe they are not using at all?

    http://wordpress.org/extend/plugins/wp-mpdf/

  2. fkrauthan
    Member
    Posted 2 years ago #

    hmm i don't know what you mean.

  3. swwwolf
    Member
    Posted 2 years ago #

    I mean, that code in <pre lang="C"></pre> for example doesn't fit in one line and wraps to a new line if it is too long.

    Just see my article again (on Russian :)
    http://sww-it.ru/2010-02-21/362

  4. fkrauthan
    Member
    Posted 2 years ago #

    but what would you instead?^^

  5. swwwolf
    Member
    Posted 2 years ago #

    Maybe smaller fontsize adjustable in options? Is it possible to no wrap text on new line in PDF?

  6. fkrauthan
    Member
    Posted 2 years ago #

    Hmm this is not possible. Thats a limitation of the mpdf lib i use for generating pdfs.

  7. swwwolf
    Member
    Posted 2 years ago #

    OK, sorry :)

  8. fkrauthan
    Member
    Posted 2 years ago #

    No problem. i Hope you are happy with this plugin without this thing.

  9. swwwolf
    Member
    Posted 2 years ago #

    Yeap, really nice plugin and cute pdf-style!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags