Hello community, here is the log from the commit of package fontinfo for openSUSE:Factory checked in at 2014-01-29 07:13:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fontinfo (Old) and /work/SRC/openSUSE:Factory/.fontinfo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fontinfo" Changes: -------- --- /work/SRC/openSUSE:Factory/fontinfo/fontinfo.changes 2014-01-15 16:24:45.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.fontinfo.new/fontinfo.changes 2014-01-29 07:13:53.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Jan 20 10:31:49 UTC 2014 - [email protected] + +- updated to version 20140120 + * use relative sorting for scripts again as absolute seem to + have more cons than pros + +------------------------------------------------------------------- Old: ---- fontinfo-20140115.tar.bz2 New: ---- fontinfo-20140120.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fontinfo.spec ++++++ --- /var/tmp/diff_new_pack.xcRqrl/_old 2014-01-29 07:13:53.000000000 +0100 +++ /var/tmp/diff_new_pack.xcRqrl/_new 2014-01-29 07:13:53.000000000 +0100 @@ -17,7 +17,7 @@ Name: fontinfo -Version: 20140115 +Version: 20140120 Release: 0 Summary: Overview of Installed Fonts License: GPL-2.0+ ++++++ fontinfo-20140115.tar.bz2 -> fontinfo-20140120.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fontinfo-20140115/CHANGES new/fontinfo-20140120/CHANGES --- old/fontinfo-20140115/CHANGES 2014-01-15 11:08:36.000000000 +0100 +++ new/fontinfo-20140120/CHANGES 2014-01-20 11:34:15.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Jan 20 10:31:49 UTC 2014 - [email protected] + +Version 20140120 + * use relative sorting for scripts again as absolute seem to + have more cons than pros + +------------------------------------------------------------------- Wed Jan 15 09:54:51 UTC 2014 - [email protected] - Version 20140115 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fontinfo-20140115/Makefile new/fontinfo-20140120/Makefile --- old/fontinfo-20140115/Makefile 2014-01-15 11:08:36.000000000 +0100 +++ new/fontinfo-20140120/Makefile 2014-01-20 11:34:15.000000000 +0100 @@ -17,7 +17,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. DIRS = languages -VERSION = 20140115 +VERSION = 20140120 PKGMAN_CFLAGS = $(shell sh ./package-manager.sh --cflags) PKGMAN_LIBS = $(shell sh ./package-manager.sh --libs) LIBPNG_CFLAGS = $(shell pkg-config --cflags libpng) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fontinfo-20140115/bento-style.c new/fontinfo-20140120/bento-style.c --- old/fontinfo-20140115/bento-style.c 2014-01-15 11:08:36.000000000 +0100 +++ new/fontinfo-20140120/bento-style.c 2014-01-20 11:34:15.000000000 +0100 @@ -615,7 +615,7 @@ /* font doesn't cover any sentence from config.minispecimen_script */ /* try another script inside font */ nscripts = charset_uinterval_statistics(charset, script_stats, - SCRIPT, UI_SORT_ABSOLUTE); + SCRIPT, UI_SORT_PERCENT); for (v = 0; v < nscripts; v++) { if (config.debug) @@ -879,7 +879,7 @@ /* font doesn't cover any sentence from config.minispecimen_script */ /* try another script inside font */ nscripts = charset_uinterval_statistics(charset, script_stats, - SCRIPT, UI_SORT_ABSOLUTE); + SCRIPT, UI_SORT_PERCENT); for (v = 0; v < nscripts; v++) { if (config.debug) @@ -1009,7 +1009,7 @@ uinterval_stat_t script_stats[NUMSCRIPTS]; uinterval_stat_t block_stats[NUMBLOCKS]; - int nscripts, nsignificantscripts, v; + int nscripts, nsignificantscripts, v, v1; int nblocks; char script_wu[SCRIPT_NAME_LEN_MAX]; char block_ws[BLOCK_NAME_LEN_MAX]; @@ -1061,7 +1061,7 @@ file_from_package((char *)file, &pi); nscripts = charset_uinterval_statistics(charset, script_stats, - SCRIPT, UI_SORT_ABSOLUTE); + SCRIPT, UI_SORT_PERCENT); nblocks = charset_uinterval_statistics(charset, block_stats, BLOCK, UI_SORT_NONE); @@ -1148,6 +1148,15 @@ } nsignificantscripts = v; + if (config.debug) + { + fprintf(stdout, "scripts leaving aside: ["); + for (v1 = v; v1 < nscripts; v1++) + fprintf(stdout, "%s (%.1f%%) ", + script_stats[v1].ui_name, script_stats[v1].coverage); + fprintf(stdout, "]\n"); + } + if (nsignificantscripts == 0) fprintf(html, " <tr><td>none</td></tr>\n"); @@ -1306,7 +1315,7 @@ if (pi.url[0]) fprintf(html, " <tr><td><b>Url:</b></td>" - "<td><a href=\"%s\">%s</td></tr>\n", + "<td><a href=\"%s\">%s</a></td></tr>\n", pi.url, pi.url); if (pi.license[0]) fprintf(html, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fontinfo-20140115/img_png.c new/fontinfo-20140120/img_png.c --- old/fontinfo-20140115/img_png.c 2014-01-15 11:08:36.000000000 +0100 +++ new/fontinfo-20140120/img_png.c 2014-01-20 11:34:15.000000000 +0100 @@ -247,6 +247,10 @@ ft_free_bitmap(&bitmap); } + snprintf(png_link, FILEPATH_MAX, "%s/%s%s.%s.s.png", + IMG_SUBDIR, family, style, script ? script : NO_SCRIPT); + remove_spaces_and_slashes(&png_link[strlen(IMG_SUBDIR)+1]); + /* link png to html */ if (config.generate_stooltips) { @@ -260,9 +264,19 @@ if (sizes[px]) { if (dir < 2) /* horizontal */ - right = 0, top = crd, left = png_width, bottom = crd + px + SPECIMEN_DIST; + { + left = 0; + top = crd; + right = png_width; + bottom = crd + px + SPECIMEN_DIST; + } else /* vertical */ - right = crd, top = 0, left = crd + px + SPECIMEN_DIST, bottom = png_height; + { + left = crd; + top = 0; + right = crd + px + SPECIMEN_DIST; + bottom = png_height; + } switch (transform) { @@ -283,22 +297,20 @@ fprintf(html, "%s <area shape=\"rect\" " - "coords=\"%d,%d,%d,%d\" title=\"%d px\">\n", - html_indent, left, top, right, bottom, px); + "coords=\"%d,%d,%d,%d\" title=\"%d px\" href=\"%s\">\n", + html_indent, left, top, right, bottom, px, png_link); crd += px + SPECIMEN_DIST; } fprintf(html, "%s</map>\n", html_indent); } - snprintf(png_link, FILEPATH_MAX, "%s/%s%s.%s.s.png", - IMG_SUBDIR, family, style, script ? script : NO_SCRIPT); - remove_spaces_and_slashes(&png_link[strlen(IMG_SUBDIR)+1]); fprintf(html, "%s<img src=\"%s\" alt=\"Specimen for %s %s (%s script).\"", - html_indent, png_link, family, style, script ? script : NO_SCRIPT); + html_indent, png_link, + family, style, script ? script : NO_SCRIPT); if (config.generate_stooltips) fprintf(html, " usemap=\"#%s%s\"", mapname_prefix, mapname); - fprintf(html, "/>\n"); + fprintf(html, "/></a>\n"); if (res_width) *res_width = png_width; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fontinfo-20140115/plain-style.c new/fontinfo-20140120/plain-style.c --- old/fontinfo-20140115/plain-style.c 2014-01-15 11:08:36.000000000 +0100 +++ new/fontinfo-20140120/plain-style.c 2014-01-20 11:34:15.000000000 +0100 @@ -318,7 +318,7 @@ /* font doesn't cover any sentence from config.minispecimen_script */ /* try another script inside font */ nscripts = charset_uinterval_statistics(charset, script_stats, - SCRIPT, UI_SORT_ABSOLUTE); + SCRIPT, UI_SORT_PERCENT); for (v = 0; v < nscripts; v++) { if (config.debug) @@ -497,7 +497,7 @@ /* font doesn't cover any sentence from config.minispecimen_script */ /* try another script inside font */ nscripts = charset_uinterval_statistics(charset, script_stats, - SCRIPT, UI_SORT_ABSOLUTE); + SCRIPT, UI_SORT_PERCENT); for (v = 0; v < nscripts; v++) { if (config.debug) @@ -656,7 +656,7 @@ file_from_package((char *)file, &pi); nscripts = charset_uinterval_statistics(charset, script_stats, - SCRIPT, UI_SORT_ABSOLUTE); + SCRIPT, UI_SORT_PERCENT); nblocks = charset_uinterval_statistics(charset, block_stats, BLOCK, UI_SORT_NONE); @@ -793,7 +793,7 @@ pi.version); if (pi.url[0]) fprintf(html, " <tr><td><b>Url:</b></td>" - "<td><a href=\"%s\">%s</td></tr>\n", + "<td><a href=\"%s\">%s</a></td></tr>\n", pi.url, pi.url); if (pi.license[0]) fprintf(html, " <tr><td><b>License:</b></td><td>%s</td></tr>\n", @@ -920,8 +920,10 @@ fprintf(html, " <table>\n"); for (v = 0; v < nblocks; v++) { - fprintf(html, " <tr><td>%s</td></tr>\n", - block_stats[v].ui_name); + fprintf(html, " <tr><td>%s (U+%05X - U+%05X)</td></tr>\n", + block_stats[v].ui_name, + block_lbound(block_stats[v].ui_name), + block_ubound(block_stats[v].ui_name)); fprintf(html, " <tr><td>\n"); write_charset(html, pattern, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fontinfo-20140115/unicode/sentences.txt new/fontinfo-20140120/unicode/sentences.txt --- old/fontinfo-20140115/unicode/sentences.txt 2014-01-15 11:08:37.000000000 +0100 +++ new/fontinfo-20140120/unicode/sentences.txt 2014-01-20 11:34:15.000000000 +0100 @@ -82,6 +82,10 @@ * omniglot * Javanese * http://en.wikipedia.org/wiki/List_of_pangrams#Javanese + * Avestan + * omniglot (second image) + * Tai Viet + * omniglot * * why some sentences do not match charsets: * COPTIC -- IIUC http://en.wikipedia.org/wiki/Coptic_alphabet, one can write @@ -841,8 +845,10 @@ }, { - "Tai_Viet", TAG('T','a','v','t'), 1, L2R, TRNS_NONE, (sentence_t []) + "Tai_Viet", TAG('T','a','v','t'), 2, L2R, TRNS_NONE, (sentence_t []) { + /* seems do need opentype, Tai Heritage Pro ok */ + {"ꪋ꫁ꪫꪸꪙ ꪭ꫁ꪮ ꪶꪭ꪿ꪉ ꪛ꪿ꪱꪉ", "blt"}, {"ꪀꪁꪂꪃꪄꪅꪆꪇꪈꪉ", "blt"}, } }, @@ -850,6 +856,7 @@ { "Avestan", TAG('A','v','s','t'), 1, R2L, TRNS_NONE, (sentence_t []) { + /* seems do not need opentype */ {"𐬀𐬙 𐬟𐬭𐬀𐬎𐬎𐬀𐬑𐬴𐬌𐬌𐬁 𐬥𐬏 𐬔𐬏𐬴𐬋𐬛𐬏𐬨 𐬥𐬏 𐬯𐬭𐬀𐬊𐬝𐬁", "ae"}, } }, -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
