Opened 12 years ago

Closed 12 years ago

#3772 closed task (fixed)

Port to Gtk3

Reported by: humitos Owned by: godiard
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: TuxPaint Version: Unspecified
Severity: Unspecified Keywords: gtk3, port, cairo, screenshot, patch, pango
Cc: godiard, humitos Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

This ticket is a task to port Typing Turtle to Gtk3

Attachments (19)

0001-Port-to-Cairo.patch (20.8 KB) - added by humitos 12 years ago.
Patch to port this activity to Cairo and PangoCairo
title_screen_font_size.png (208.4 KB) - added by humitos 12 years ago.
Diffence in font size on title screen
hands_scale.png (57.9 KB) - added by humitos 12 years ago.
Hands scale differs
globos.png (22.9 KB) - added by humitos 12 years ago.
globos_cairo.png (16.1 KB) - added by humitos 12 years ago.
finished.png (20.6 KB) - added by humitos 12 years ago.
finished_cairo.png (13.7 KB) - added by humitos 12 years ago.
cairo_gtk3__almost-ported.diff (103.3 KB) - added by humitos 12 years ago.
Backup of my port progress
0001-Port-Gtk3-SL-3772.patch (103.3 KB) - added by humitos 12 years ago.
0001-Port-to-Cairo.2.patch (20.8 KB) - added by humitos 12 years ago.
0002-Port-to-Gtk3-SL-3772.patch (96.2 KB) - added by humitos 12 years ago.
0001-Hack-to-allow-SHIFT-and-ALT-GR-mask.patch (2.0 KB) - added by humitos 12 years ago.
0001-Hack-to-allow-SHIFT-and-ALT-GR-mask.2.patch (2.0 KB) - added by humitos 12 years ago.
v2
0001-Hack-to-allow-SHIFT-and-ALT-GR-mask.3.patch (2.1 KB) - added by humitos 12 years ago.
v2 (fixed)
0001-Hack-to-allow-SHIFT-and-ALT-GR-mask.4.patch (2.1 KB) - added by humitos 12 years ago.
v3
spanish_characters_fix.diff (1.9 KB) - added by humitos 12 years ago.
This diff fixes the issue with the Spanish version UnicodeDecodeError
0001-Edit-lessons-section.patch (11.3 KB) - added by humitos 12 years ago.
Edit Section patch
0001-Edit-Lesson-Radio-Button.patch (1.2 KB) - added by humitos 12 years ago.
0002-Remove-wrapper-port-directory-around-sugar-toolkit-S.patch (27.2 KB) - added by humitos 12 years ago.

Download all attachments as: .zip

Change History (25)

comment:1 Changed 12 years ago by humitos

  • Cc humitos added
  • Keywords cairo screenshot patch added

I ported this activity to Cairo (and Pango) as first step before start porting it to Gtk3. I'm attaching the patch and I will list here the problems that it has.

Changed 12 years ago by humitos

Patch to port this activity to Cairo and PangoCairo

Changed 12 years ago by humitos

Diffence in font size on title screen

Changed 12 years ago by humitos

Hands scale differs

Changed 12 years ago by humitos

Changed 12 years ago by humitos

Changed 12 years ago by humitos

Changed 12 years ago by humitos

comment:2 Changed 12 years ago by humitos

I reported this bug into pango bugzilla in relation with the font sizes:

comment:3 Changed 12 years ago by humitos

  • Keywords pango added

There is another problem with the PangoFontDescription:

Changed 12 years ago by humitos

Backup of my port progress

Changed 12 years ago by humitos

Changed 12 years ago by humitos

Changed 12 years ago by humitos

comment:4 Changed 12 years ago by humitos

While I was porting this activity I found an issue related to Rsvg images and DPIs. I reported a bug:

Changed 12 years ago by humitos

v2

Changed 12 years ago by humitos

v2 (fixed)

Changed 12 years ago by humitos

v3

Changed 12 years ago by humitos

This diff fixes the issue with the Spanish version UnicodeDecodeError

Changed 12 years ago by humitos

Edit Section patch

Changed 12 years ago by humitos

comment:5 Changed 12 years ago by humitos

  • Owner changed from humitos to godiard
  • Status changed from new to assigned

I'm assigning this ticket to Gonzalo so he can review and apply the patches if they are right.

This is the order that you should follow:

[humitos@michifus typing-turtle]$ git reset --hard origin/master
HEAD is now at f070c15 Edit lessons section
[humitos@michifus typing-turtle]$ git am 0001-Edit-Lesson-Radio-Button.patch
Applying: Edit Lesson Radio Button
[humitos@michifus typing-turtle]$ git am 0002-Remove-wrapper-port-directory-around-sugar-toolkit-S.patch
Applying: Remove wrapper (port/ directory) around sugar-toolkit SL #3780
[humitos@michifus typing-turtle]$

comment:6 Changed 12 years ago by godiard

  • Component changed from TypingTurtle to TuxPaint
  • Resolution set to fixed
  • Status changed from assigned to closed

Landed in version 30

Note: See TracTickets for help on using tickets.