Skip to content

Check for $o['info']['FontDescriptor'])#68

Merged
ole1986 merged 1 commit intorospdf:masterfrom
jatubio:patch-2
May 20, 2017
Merged

Check for $o['info']['FontDescriptor'])#68
ole1986 merged 1 commit intorospdf:masterfrom
jatubio:patch-2

Conversation

@jatubio
Copy link
Copy Markdown
Contributor

@jatubio jatubio commented May 19, 2017

Add check of isset($o['info']['FontDescriptor']) in o_font() function

Without this change, sometimes will throw this error:

Error:(Notice) [Undefined index: FontDescriptor] (Num 8) en el fichero: [E:\Inet\php\php7\CezPDF\GitHub\src\Cpdf.php] (Linea: 813)

Tested on PHP7 with E_STRICT enabled

Add check of isset($o['info']['FontDescriptor']) in o_font() function

Without this change, sometimes will throw this error:

`Error:(Notice) [Undefined index: FontDescriptor] (Num 8) en el fichero: [E:\Inet\php\php7\CezPDF\GitHub\src\Cpdf.php] (Linea: 813)`

Tested on PHP7 with E_STRICT enabled
@ole1986 ole1986 merged commit 885550f into rospdf:master May 20, 2017
@jatubio jatubio deleted the patch-2 branch May 20, 2017 07:43
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