[gnome-characters] characterList: Scale default font size properly
- From: Daiki Ueno <dueno src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-characters] characterList: Scale default font size properly
- Date: Thu, 12 Feb 2015 04:18:33 +0000 (UTC)
commit b4223bc5450f5892e09b34ceb604da39b81c5443
Author: Daiki Ueno <dueno src gnome org>
Date: Thu Feb 12 13:16:42 2015 +0900
characterList: Scale default font size properly
src/characterList.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/characterList.js b/src/characterList.js
index 5cc262e..616acd6 100644
--- a/src/characterList.js
+++ b/src/characterList.js
@@ -100,7 +100,7 @@ const CharacterListWidget = new Lang.Class({
set font(v) {
let fontDescription = Pango.FontDescription.from_string(v);
if (fontDescription.get_size() == 0)
- fontDescription.set_size(CELL_SIZE);
+ fontDescription.set_size(CELL_SIZE * Pango.SCALE);
if (this._fontDescription &&
fontDescription.equal(this._fontDescription))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]