summaryrefslogtreecommitdiff
path: root/frontends/gtk/layout_pango.c
Commit message (Collapse)AuthorAgeFilesLines
* Plotters: Add plot_style_fixed type, and use for font size.Michael Drake2018-05-231-1/+1
|
* fix size+t formatting in loggingVincent Sanders2017-09-071-2/+3
|
* Fixup everything the semantic patch missedVincent Sanders2017-09-071-3/+4
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* GTK: Slight optimisation to nsfont_split().Michael Drake2017-04-111-1/+1
| | | | | When we aren't modifying the line, pango_layout_get_line_readonly() is a faster alternative to pango_layout_get_line().
* GTK: Font rendering: Use same pango layout for painting as for measuring.Michael Drake2017-04-111-7/+4
| | | | | | | | | | | | | | | With this change we are consistent about how the pango layout we use is created. Now it always comes from a pango_layout_new() call on a pango context that comes from gdk_pango_context_get(). Previously the pango layout used for painting came from a call to pango_cairo_create_layout(), which required a global called "current_cr" (a cairo drawing context), which is only valid during redraw (painting). Since it was only valid during painting, this source could not be used for pango layout creation for the measuring code.
* Update GTK plotters to use new APIVincent Sanders2017-02-111-3/+3
|
* move plot style header to netsurf include directoryVincent Sanders2017-01-131-0/+1
| | | | | move plotter style header and adjust all callers to use only what they actually require.
* move layout header into public APIVincent Sanders2016-05-301-1/+1
|
* move frontends into sub directoryVincent Sanders2016-05-151-0/+309