Skip to content

Commit

Permalink
修改字体默认路径
Browse files Browse the repository at this point in the history
  • Loading branch information
cccaimingjian committed Oct 16, 2022
1 parent f6f4393 commit 225d843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Maker.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Maker
protected int $pic_w = 0;
protected int $pic_h = 0;
protected ?GdImage $image = null;
protected string $font_path = __DIR__.'/../vendor/cccaimingjian/laravel-image-watermark/src/font/SourceHanSerifSC-Medium.otf';
protected string $font_path = __DIR__.'/font/SourceHanSerifSC-Medium.otf';
public string $file_path = '';
public string $string = 'watermark';
public float $font_size = 10.0;
Expand Down

0 comments on commit 225d843

Please sign in to comment.