New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

Problem with Greek letters

Mobile version discussion

Problem with Greek letters

Postby leit84 » Tue May 28, 2013 5:16 pm

Hello!

There's a bug with greek letters missing in some words. As you can see in the attached screenshots the dictionaries work fine on the desktop.

Is this a Goldendict bug or an Android Font problem?

Thank you!

Screenshot_2013-05-28-18-54-30.png
Screenshot_2013-05-28-18-54-30.png (232.79 KiB) Viewed 48469 times


2013-05-28 18.54.32.png
2013-05-28 18.54.32.png (153.35 KiB) Viewed 48469 times
leit84
 
Posts: 4
Joined: Fri Apr 19, 2013 6:57 pm

Re: Problem with Greek letters

Postby leit84 » Wed May 29, 2013 5:47 pm

It looks like it's an Android font problem in the first place:

https://code.google.com/p/android/issues/detail?id=26037

Just in case somebody has the same problem here's the solution I came up with. I basically just followed these instructions:

http://goldendict.mobi/faq.php

1. I copied the font Calibri from Windows 7 into Goldendict's '.config' folder.

2. I put the following code into 'article-style.css':

Code: Select all
@font-face
{
   font-family: "Calibri";
   font-weight: normal;
   font-style: normal;
   font-stretch: normal;
   src: url('file:///sdcard/GoldenDict/.config/CALIBRI.TTF');
}

@font-face
{
   font-family: "Calibri";
   font-weight: normal;
   font-style: italic;
   font-stretch: normal;
   src: url('file:///sdcard/GoldenDict/.config/CALIBRII.TTF');
}

@font-face
{
   font-family: "Calibri";
   font-weight: bolder;
   font-style: normal;
   font-stretch: normal;
   src: url('file:///sdcard/GoldenDict/.config/CALIBRIB.TTF');}

@font-face
{
   font-family: "Calibri";
   font-weight: bolder;
   font-style: italic;
   font-stretch: normal;
   src: url('file:///sdcard/GoldenDict/.config/CALIBRIZ.TTF');
}

body
{
   font-family: Calibri;
   font-size:0.75em;
   line-height:125%;
   color:#444;
 }


3. Voilà:

2013-05-29 19.18.01.png
2013-05-29 19.18.01.png (275.27 KiB) Viewed 48448 times
leit84
 
Posts: 4
Joined: Fri Apr 19, 2013 6:57 pm

Re: Problem with Greek letters

Postby Tvangeste » Wed May 29, 2013 6:06 pm

Thanks for posting the solution, much appreciated! Next time somebody asks about the fonts, we could just point to this post. :)
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Problem with Greek letters

Postby mirkoci » Mon Jul 01, 2019 10:02 am

Thanks :D
mirkoci
 
Posts: 2
Joined: Tue Mar 15, 2016 2:33 pm


Return to Mobile

Who is online

Users browsing this forum: No registered users and 2 guests