Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define font via env var #169

Merged
merged 2 commits into from
Jul 22, 2022
Merged

Define font via env var #169

merged 2 commits into from
Jul 22, 2022

Conversation

codedge
Copy link
Owner

@codedge codedge commented Jul 22, 2022

This PR add the option to change to change the font path via the FPDF_FONTPATH environment variable.

@codecov-commenter
Copy link

Codecov Report

Merging #169 (e6ae53e) into master (f41f033) will decrease coverage by 0.32%.
The diff coverage is n/a.

❗ Current head e6ae53e differs from pull request most recent head 463eb8b. Consider uploading reports for the commit 463eb8b to get more accurate results

@@             Coverage Diff             @@
##             master    #169      +/-   ##
===========================================
- Coverage      3.73%   3.40%   -0.33%     
+ Complexity      601     599       -2     
===========================================
  Files            28      28              
  Lines          2359    2405      +46     
===========================================
- Hits             88      82       -6     
- Misses         2271    2323      +52     
Flag Coverage Δ
unittests 3.40% <ø> (-0.33%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/Fpdf/Fpdf.php 7.00% <0.00%> (-0.13%) ⬇️
src/Fpdf/font/times.php 0.00% <0.00%> (ø)
src/Fpdf/font/symbol.php 0.00% <0.00%> (ø)
src/Fpdf/font/timesb.php 0.00% <0.00%> (ø)
src/Fpdf/font/timesi.php 0.00% <0.00%> (ø)
src/Fpdf/font/timesbi.php 0.00% <0.00%> (ø)
src/Fpdf/font/helvetica.php 0.00% <0.00%> (ø)
src/Fpdf/font/helveticab.php 0.00% <0.00%> (ø)
src/Fpdf/font/helveticai.php 0.00% <0.00%> (ø)
src/Fpdf/font/helveticabi.php 0.00% <0.00%> (ø)
... and 4 more

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@codedge codedge merged commit 11520c0 into master Jul 22, 2022
@codedge codedge deleted the font-path branch July 22, 2022 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants