KnpLabs / snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage

Home Page:https://knplabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The display problem of Chinese special characters "□".

liuyong888 opened this issue · comments

windows10;
laravel 8.6;
apache: 2.4;
php7.4;
barryvdh/laravel-snappy v0.4.8;
knplabs/knp-snappy v1.0;

  1. HTML display:
    The character "□" is the same height as the title.
    image

  2. generated PDF:
    The character "□" appears differently in the generated PDF than in the HTML page.(I need the character "□" is the same height as the title.)
    1633401918(1)

my code:
image
image

image

help
@akerouanton

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.