Branch: refs/heads/master
Author: Frank Lanitz <flanitz(a)bgc-jena.mpg.de>
Committer: Frank Lanitz <flanitz(a)bgc-jena.mpg.de>
Date: Wed, 21 Aug 2013 09:10:16 UTC
Commit: 57790e7b641518919b6f668d75c3e57146a669fa
https://github.com/geany/talks/commit/57790e7b641518919b6f668d75c3e57146a66…
Log Message:
-----------
German SVG-Poster: Move boxes a bit
Modified Paths:
--------------
german/poster/geany_booth_poster.svg
Modified: german/poster/geany_booth_poster.svg
17 files changed, 9 insertions(+), 8 deletions(-)
===================================================================
No diff available, check online
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Frank Lanitz <frank(a)frank.uvena.de>
Committer: Frank Lanitz <frank(a)frank.uvena.de>
Date: Tue, 20 Aug 2013 16:41:14 UTC
Commit: 5b785877d0dcbe5bf929ff0384dd8ecaed990c6c
https://github.com/geany/talks/commit/5b785877d0dcbe5bf929ff0384dd8ecaed990…
Log Message:
-----------
SVG-post: Split feature section into small parts as well as removing one bullet point
Modified Paths:
--------------
german/poster/geany_booth_poster.svg
Modified: german/poster/geany_booth_poster.svg
371 files changed, 178 insertions(+), 193 deletions(-)
===================================================================
No diff available, check online
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Colomban Wendling <ban(a)herbesfolles.org>
Committer: Colomban Wendling <ban(a)herbesfolles.org>
Date: Tue, 20 Aug 2013 09:51:45 UTC
Commit: 1fe7b4848ee47e7cc198082ccb49bb398a6bfb21
https://github.com/geany/geany/commit/1fe7b4848ee47e7cc198082ccb49bb398a6bf…
Log Message:
-----------
Fix printing under Windows
For some reason the Scintilla widget's Pango context don't have a
resolution set on Windows, so we get an invalid one. Fix this by
correctly peek the resolution from the map if the context doesn't
have one by itself.
https://developer.gnome.org/pango/stable/pango-Cairo-Rendering.html#pango-c…
Thanks to Matthew Brush for debugging this!
Closes #961.
Modified Paths:
--------------
src/printing.c
Modified: src/printing.c
14 files changed, 12 insertions(+), 2 deletions(-)
===================================================================
@@ -334,6 +334,7 @@ static void begin_print(GtkPrintOperation *operation, GtkPrintContext *context,
DocInfo *dinfo = user_data;
PangoContext *pango_ctx, *widget_pango_ctx;
PangoFontDescription *desc;
+ gdouble pango_res, widget_res;
if (dinfo == NULL)
return;
@@ -358,9 +359,18 @@ static void begin_print(GtkPrintOperation *operation, GtkPrintContext *context,
* Pango context out of the Cairo target, and the resolution is in the GtkPrintOperation's
* Pango context */
pango_ctx = gtk_print_context_create_pango_context(context);
- widget_pango_ctx = gtk_widget_get_pango_context(GTK_WIDGET(dinfo->sci));
- dinfo->sci_scale = pango_cairo_context_get_resolution(pango_ctx) / pango_cairo_context_get_resolution(widget_pango_ctx);
+ pango_res = pango_cairo_context_get_resolution(pango_ctx);
g_object_unref(pango_ctx);
+ widget_pango_ctx = gtk_widget_get_pango_context(GTK_WIDGET(dinfo->sci));
+ widget_res = pango_cairo_context_get_resolution(widget_ctx);
+ /* On Windows, for some reason the widget's resolution is -1, so follow
+ * Pango docs and peek the font map's one. */
+ if (widget_res < 0)
+ {
+ widget_res = pango_cairo_font_map_get_resolution(
+ (PangoCairoFontMap*) pango_context_get_font_map(widget_pango_ctx));
+ }
+ dinfo->sci_scale = pango_res / widget_res;
dinfo->pages = g_array_new(FALSE, FALSE, sizeof(gint));
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Frank Lanitz <flanitz(a)bgc-jena.mpg.de>
Committer: Frank Lanitz <flanitz(a)bgc-jena.mpg.de>
Date: Tue, 20 Aug 2013 09:39:37 UTC
Commit: 791cad305952f9f5cbab742a4f228563db72ab0c
https://github.com/geany/geany/commit/791cad305952f9f5cbab742a4f228563db72a…
Log Message:
-----------
Update of Italian translation Giuseppe Penone
Modified Paths:
--------------
po/it.po
Modified: po/it.po
3113 files changed, 1564 insertions(+), 1549 deletions(-)
===================================================================
No diff available, check online
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Frank Lanitz <flanitz(a)bgc-jena.mpg.de>
Committer: Frank Lanitz <flanitz(a)bgc-jena.mpg.de>
Date: Mon, 19 Aug 2013 17:46:26 UTC
Commit: 4cfeb34d84ef2445a99d5fc4170ca94cdea7d0b0
https://github.com/geany/talks/commit/4cfeb34d84ef2445a99d5fc4170ca94cdea7d…
Log Message:
-----------
Givin header round edges as well as splitting feature box into single items
Modified Paths:
--------------
german/poster/geany_booth_poster.svg
Modified: german/poster/geany_booth_poster.svg
5115 files changed, 157 insertions(+), 4958 deletions(-)
===================================================================
No diff available, check online
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
Branch: refs/heads/master
Author: Matthew Brush <matt(a)geany.org>
Committer: Matthew Brush <matt(a)geany.org>
Date: Mon, 19 Aug 2013 03:59:31 UTC
Commit: 4e924817b36e491d3f04aa7f4857bd175c8f3d7e
https://github.com/geany/geany/commit/4e924817b36e491d3f04aa7f4857bd175c8f3…
Log Message:
-----------
Use empty string on win32 when no print command
In the preferences dialog it would show a single
quote because the print command couldn't be found
and the NULL prematurely terminated the g_strconcat()
call, leaving a single quote in the print command
entry.
Thanks to Lex for finding where the problem was.
Modified Paths:
--------------
src/keyfile.c
Modified: src/keyfile.c
11 files changed, 9 insertions(+), 2 deletions(-)
===================================================================
@@ -916,8 +916,15 @@ static void load_dialog_prefs(GKeyFile *config)
/* printing */
tmp_string2 = g_find_program_in_path(GEANY_DEFAULT_TOOLS_PRINTCMD);
#ifdef G_OS_WIN32
- /* single quote paths on Win32 for g_spawn_command_line_async */
- tmp_string = g_strconcat("'", tmp_string2, "' '%f'", NULL);
+ if (!EMPTY(tmp_string2))
+ {
+ /* single quote paths on Win32 for g_spawn_command_line_async */
+ tmp_string = g_strconcat("'", tmp_string2, "' '%f'", NULL);
+ }
+ else
+ {
+ tmp_string = g_strdup("");
+ }
#else
tmp_string = g_strconcat(tmp_string2, " %f", NULL);
#endif
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).