View Single Post
Old 07-17-2013, 10:19 AM   #282
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
Quote:
Originally Posted by Markismus View Post
In the rar-file I used your 235 dpi setting and for cfont I used 24. No lines

I just switched screen.lua line 101 to "return 265" and voila there is a horizontal erasure at the base of the font. It effectively erases the bottoms of a, e, d, 0, etc. and cuts through the p, y and g's. When I increase the cfont from 22 to 31 the line migrates up to about the middle of the letters. (See added jpg.)
the latest code is:
Code:
function Screen:getDPI()
	if(Device:getModel() == "KindlePaperWhite") or (Device:getModel() == "Kobo_kraken") then
		return 212
	elseif Device:getModel() == "Kobo_dragon" then
		return 265
	elseif Device:getModel() == "Kobo_pixie" then
		return 200
	else
		return 167
	end
end
It should be included in the latest build I've posted. So actually if you set 235 for you the text is effectively smaller than it is now on official koreader.
Try these latest settings and see if it is still too small for you (without other modifications). And obviously, the question is open for everyone.
giorgio130 is offline   Reply With Quote