diff options
| author | Antonio Bosak <toni.bosak@gmail.com> | 2019-05-15 17:27:33 +0200 | 
|---|---|---|
| committer | Antonio Bosak <toni.bosak@gmail.com> | 2019-05-15 17:27:33 +0200 | 
| commit | 1af5a0c18cae5799fbfc73dc8440abb7d7622837 (patch) | |
| tree | f261eb3ab5f36262d9c2ea567c9248f28a94a39c | |
| parent | 8f080922446313698730071fd92ca15900e6a941 (diff) | |
fix for not concating already defined filepath
| -rw-r--r-- | fpdf.go | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -1601,6 +1601,7 @@ func (f *Fpdf) addFont(familyStr, styleStr, fileStr string, isUTF8 bool) {  		}  		var ttfStat os.FileInfo  		var err error +		fileStr = path.Join(f.fontpath, fileStr)  		ttfStat, err = os.Stat(fileStr)  		if err != nil {  			f.SetError(err) | 
