[Skip to main content](#vessel-content)

#   PDF Invoice plugin does not show Greek characters

##

- **[cgt](/forum/user/30741-cgt "View cgt's Profile")**
- [![cgt's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30741-cgt "View cgt's Profile") Topic Author
- [ Offline](/forum/user/30741-cgt)

Less More

- Posts: 11
- Thank you received: 1
-
-

12 years 9 months ago [\#141211](#141211) by [cgt](/forum/user/30741-cgt "View cgt's Profile")  *[PDF Invoice plugin does not show Greek characters](/forum/27-checkout/865330-pdf-invoice-plugin-does-not-show-greek-characters#141211 "-- url of the page with the problem -- :   www.breffo.gr/demo  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 3.2 -- PHP version -- : 5.4 -- Browser(s) name and version -- : All browsers -- Error-message(debug-mod must be tuned on) -- : N/A  Hello.  I've purchased and installed the pdf invoice attachment plugin (Hikashop plugin name : attachinvoice). The site uses/prints invoices in Greek and although the PDF is attached after the order payment confirmation, its content is not radable due to the Greek characters (shows ???). Attahced you may find a sample of it.  Does the plugin support Greek characters or not ? Any solution to that ?  Regards Charis")* was created by *[cgt](/forum/user/30741-cgt "View cgt's Profile")*

-- url of the page with the problem -- : [ www.breffo.gr/demo](http://www.breffo.gr/demo)
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 3.2
-- PHP version -- : 5.4
-- Browser(s) name and version -- : All browsers
-- Error-message(debug-mod must be tuned on) -- : N/A

Hello.

I've purchased and installed the pdf invoice attachment plugin (Hikashop plugin name : attachinvoice). The site uses/prints invoices in Greek and although the PDF is attached after the order payment confirmation, its content is not radable due to the Greek characters (shows ???). Attahced you may find a sample of it.

Does the plugin support Greek characters or not ? Any solution to that ?

Regards
Charis

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NTMzMC1wZGYtaW52b2ljZS1wbHVnaW4tZG9lcy1ub3Qtc2hvdy1ncmVlay1jaGFyYWN0ZXJzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

12 years 9 months ago [\#141231](#141231) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF Invoice plugin does not show Greek characters](/forum/27-checkout/865330-pdf-invoice-plugin-does-not-show-greek-characters#141231 "-- url of the page with the problem -- :   www.breffo.gr/demo  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 3.2 -- PHP version -- : 5.4 -- Browser(s) name and version -- : All browsers -- Error-message(debug-mod must be tuned on) -- : N/A  Hello.  I've purchased and installed the pdf invoice attachment plugin (Hikashop plugin name : attachinvoice). The site uses/prints invoices in Greek and although the PDF is attached after the order payment confirmation, its content is not radable due to the Greek characters (shows ???). Attahced you may find a sample of it.  Does the plugin support Greek characters or not ? Any solution to that ?  Regards Charis")*

Hi,

I've never tried with greek letters actually. You should change the "font" option of the plugin options page and try to generate a PDF for each until you find a font which supports greek letters.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NTMzMC1wZGYtaW52b2ljZS1wbHVnaW4tZG9lcy1ub3Qtc2hvdy1ncmVlay1jaGFyYWN0ZXJzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[cgt](/forum/user/30741-cgt "View cgt's Profile")**
- [![cgt's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30741-cgt "View cgt's Profile") Topic Author
- [ Offline](/forum/user/30741-cgt)

Less More

- Posts: 11
- Thank you received: 1
-
-

12 years 9 months ago [\#141487](#141487) by [cgt](/forum/user/30741-cgt "View cgt's Profile")  Replied by *[cgt](/forum/user/30741-cgt "View cgt's Profile")* on topic *[PDF Invoice plugin does not show Greek characters](/forum/27-checkout/865330-pdf-invoice-plugin-does-not-show-greek-characters#141487 "-- url of the page with the problem -- :   www.breffo.gr/demo  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 3.2 -- PHP version -- : 5.4 -- Browser(s) name and version -- : All browsers -- Error-message(debug-mod must be tuned on) -- : N/A  Hello.  I've purchased and installed the pdf invoice attachment plugin (Hikashop plugin name : attachinvoice). The site uses/prints invoices in Greek and although the PDF is attached after the order payment confirmation, its content is not radable due to the Greek characters (shows ???). Attahced you may find a sample of it.  Does the plugin support Greek characters or not ? Any solution to that ?  Regards Charis")*

Hi Nicolas.

Thank you for the response.

Greek characters appear with 'dejavusans' fonts. However, the footer does not take into account that font, so I added the font-family into the .footer css style of invoice.php.

I also have done a correction in the code where the totals are caclulated :

If the item prices are with taxes included, the subtotal does not include the taxes.
Therefore, I changed line 177 ( echo $currencyHelper-&gt;format($order-&gt;order_subtotal_no_vat,$order-&gt;order_currency_id); ) with the following one :

echo $currencyHelper-&gt;format($order-&gt;order_subtotal,$order-&gt;order_currency_id);

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NTMzMC1wZGYtaW52b2ljZS1wbHVnaW4tZG9lcy1ub3Qtc2hvdy1ncmVlay1jaGFyYWN0ZXJzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86560
- Thank you received: 14307
-
-

12 years 9 months ago [\#141507](#141507) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF Invoice plugin does not show Greek characters](/forum/27-checkout/865330-pdf-invoice-plugin-does-not-show-greek-characters#141507 "-- url of the page with the problem -- :   www.breffo.gr/demo  -- HikaShop version -- : 2.2.3 -- Joomla version -- : 3.2 -- PHP version -- : 5.4 -- Browser(s) name and version -- : All browsers -- Error-message(debug-mod must be tuned on) -- : N/A  Hello.  I've purchased and installed the pdf invoice attachment plugin (Hikashop plugin name : attachinvoice). The site uses/prints invoices in Greek and although the PDF is attached after the order payment confirmation, its content is not radable due to the Greek characters (shows ???). Attahced you may find a sample of it.  Does the plugin support Greek characters or not ? Any solution to that ?  Regards Charis")*

Thank you for the feedback. We'll correct the code for the display of the subtotal.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2NTMzMC1wZGYtaW52b2ljZS1wbHVnaW4tZG9lcy1ub3Qtc2hvdy1ncmVlay1jaGFyYWN0ZXJzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.048 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
