##// END OF EJS Templates
PDF: fix automatic line break problem with TCPDF (#8310)....
Toshi MARUYAMA -
r5544:e6e0578d2979
parent child
Show More
@@ -1827,7 +1827,7 class TCPDF
1827 ns += 1;
1827 ns += 1;
1828 end
1828 end
1829
1829
1830 l = GetStringWidth(s[from_j, to_index-from_j]);
1830 l = GetStringWidth(s[from_j, to_index - from_j + 1]);
1831
1831
1832 if (l > wmax)
1832 if (l > wmax)
1833 #Automatic line break
1833 #Automatic line break
@@ -1946,7 +1946,7 class TCPDF
1946 if (c == " "[0])
1946 if (c == " "[0])
1947 sep= i;
1947 sep= i;
1948 end
1948 end
1949 l = GetStringWidth(s[j, i-j]);
1949 l = GetStringWidth(s[j, i - j + 1]);
1950 if (l > wmax)
1950 if (l > wmax)
1951 #Automatic line break (word wrapping)
1951 #Automatic line break (word wrapping)
1952 if (sep == -1)
1952 if (sep == -1)
General Comments 0
You need to be logged in to leave comments. Login now