/dports/print/py-reportlab/reportlab-3.5.68/src/rl_addons/rl_accel/tests/ |
H A D | t5.py | 8 getCharWidth = font.face.getCharWidth variable 15 print([getCharWidth(x) for x in (1,2,30000,32,65)]) 20 print([getCharWidth(x) for x in (1,2,30000,32,65)]==[_py_getCharWidth(x) for x in (1,2,30000,32,65)… 31 print(tim(N,'getCharWidth',getCharWidth,codep)) 33 print(tim(N,'getCharWidth',getCharWidth,codep1))
|
/dports/textproc/fop/fop-2.6/fop-core/src/test/java/org/apache/fop/svg/font/ |
H A D | KerningGlyphLayoutTestCase.java | 68 when(font.getCharWidth('A')).thenReturn(25012); in mockFont() 69 when(font.getCharWidth('V')).thenReturn(22912); in mockFont() 70 when(font.getCharWidth('o')).thenReturn(20850); in mockFont() 71 when(font.getCharWidth(65)).thenReturn(25012); in mockFont() 72 when(font.getCharWidth(86)).thenReturn(22912); in mockFont() 73 when(font.getCharWidth(111)).thenReturn(20850); in mockFont()
|
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/fonts/ |
H A D | Font.java | 354 public int getCharWidth(char c) { in getCharWidth() method in Font 358 width = getCharWidth(' '); in getCharWidth() 389 width = getCharWidth('0'); in getCharWidth() 391 width = getCharWidth('.'); in getCharWidth() 399 width = getCharWidth(' ') / 2; in getCharWidth() 403 width = getCharWidth(' ') * 2; in getCharWidth() 424 public int getCharWidth(int c) { in getCharWidth() method in Font 426 return getCharWidth((char) c); in getCharWidth() 451 width += getCharWidth(characters[i]); in getWordWidth()
|
/dports/biology/jalview/jalview/src/jalview/gui/ |
H A D | SequenceRenderer.java | 82 && av.getCharWidth() == dwidth); in prepare() 174 int curWidth = av.getCharWidth(), avWidth = av.getCharWidth(), in drawBoxes() 399 charOffset = (av.getCharWidth() - fm.charWidth(s)) / 2; in drawText() 401 charOffset + av.getCharWidth() * (i - start), y1); in drawText() 474 graphics.fillRect(x1, y1, av.getCharWidth() * (end - start + 1), in drawHighlightedText() 490 charOffset = (av.getCharWidth() - fm.charWidth(s)) / 2; in drawHighlightedText() 492 charOffset + x1 + (av.getCharWidth() * (i - start)), in drawHighlightedText() 515 g.fillRect(x1, y1, av.getCharWidth(), av.getCharHeight()); in drawCursor() 520 charOffset = (av.getCharWidth() - fm.charWidth(s)) / 2; in drawCursor()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/ |
H A D | charset.h | 87 virtual int getCharWidth(uint16 chr) = 0; 148 int getCharWidth(uint16 chr); 157 int getCharWidth(uint16 chr); 186 int getCharWidth(uint16 chr) { return 8; } in getCharWidth() function 204 virtual int getCharWidth(uint16 chr); 211 int getCharWidth(uint16 chr); 252 int getCharWidth(uint16 chr) { return 8; } in getCharWidth() function 271 int getCharWidth(uint16 chr);
|
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/ |
H A D | charset.h | 109 virtual int getCharWidth(uint16 chr) = 0; 171 int getCharWidth(uint16 chr) override; 180 int getCharWidth(uint16 chr) override; 209 int getCharWidth(uint16 chr) override { return 8; } in getCharWidth() function 227 int getCharWidth(uint16 chr) override; 234 int getCharWidth(uint16 chr) override; 275 int getCharWidth(uint16 chr) override { return 8; } in getCharWidth() function 304 int getCharWidth(uint16 chr) override; 327 int getCharWidth(uint16 chr) override;
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/java/awt/font/MonospacedGlyphWidth/ |
H A D | MonospacedGlyphWidthTest.java | 39 double width = getCharWidth(font, 'a'); in main() 42 if (width != getCharWidth(font, (char)i)) { in main() 49 private static double getCharWidth(Font font, char c) { in getCharWidth() method in MonospacedGlyphWidthTest
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/java/awt/font/MonospacedGlyphWidth/ |
H A D | MonospacedGlyphWidthTest.java | 39 double width = getCharWidth(font, 'a'); in main() 42 if (width != getCharWidth(font, (char)i)) { in main() 49 private static double getCharWidth(Font font, char c) { in getCharWidth() method in MonospacedGlyphWidthTest
|
/dports/devel/xelfviewer/XELFViewer-0.03/XHexView/ |
H A D | xhexview.cpp | 162 …osResult.nOffset=nBlockOffset+(cursorPosition.nCellLeft-getLineDelta())/(getCharWidth()*2+getLineD… in cursorPositionToOS() 167 osResult.nOffset=nBlockOffset+(cursorPosition.nCellLeft-getLineDelta())/getCharWidth(); in cursorPositionToOS() 235 …pPainter->drawText(nLeft+getCharWidth(),nTop+nHeight,g_listAddresses.at(nRow)); // TODO Text Optio… in paintCell() 271 …rectSymbol.setRect(nLeft+getCharWidth()+(i*2)*getCharWidth()+i*getLineDelta(),nTop,2*getCharWidth(… in paintCell() 276 rectSymbol.setRect(nLeft+(i+1)*getCharWidth(),nTop,getCharWidth(),nHeight); in paintCell() 597 setColumnWidth(COLUMN_ADDRESS,2*getCharWidth()+fm.boundingRect("0000000000000000").width()); in adjustColumns() 602 setColumnWidth(COLUMN_ADDRESS,2*getCharWidth()+fm.boundingRect("00000000").width()); in adjustColumns() 605 …setColumnWidth(COLUMN_HEX,g_nBytesProLine*2*getCharWidth()+2*getCharWidth()+getLineDelta()*g_nByte… in adjustColumns() 606 setColumnWidth(COLUMN_SYMBOLS,(g_nBytesProLine+2)*getCharWidth()); in adjustColumns()
|
/dports/audio/milkytracker/MilkyTracker-1.03.00/src/ppui/ |
H A D | ListBox.cpp | 157 xOffset += (maxDigits * font->getCharWidth() + 5); in paint() 302 xOffset += (maxDigits * font->getCharWidth() + 5); in select() 607 xOffset += (maxDigits * font->getCharWidth() + 5); in dispatchEvent() 1078 pp_int32 visibleItems = (visibleWidth) / font->getCharWidth(); in handleEvent() 1090 pp_int32 visibleItems = (visibleWidth) / font->getCharWidth(); in handleEvent() 1108 pp_int32 visibleItems = (visibleWidth) / font->getCharWidth(); in handleEvent() 1282 visibleWidth -= (maxDigits * font->getCharWidth() + 5); in calcVisible() 1300 pp_int32 visibleItems = (visibleWidth) / font->getCharWidth(); in adjustScrollbarPositions() 1325 const pp_int32 maxWidth = font->getCharWidth() * getMaxWidth(); in adjustScrollbars() 1436 pp_int32 visibleChars = (visibleWidth - font->getCharWidth()) / font->getCharWidth(); in assureCursorVisible() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/awt/font/MonospacedGlyphWidth/ |
H A D | MonospacedGlyphWidthTest.java | 44 double width = getCharWidth(font, 'a'); in checkChars() 54 if (width != getCharWidth(font, (char)i)) { in checkChars() 66 private static double getCharWidth(Font font, char c) { in getCharWidth() method in MonospacedGlyphWidthTest
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/awt/font/MonospacedGlyphWidth/ |
H A D | MonospacedGlyphWidthTest.java | 44 double width = getCharWidth(font, 'a'); in checkChars() 54 if (width != getCharWidth(font, (char)i)) { in checkChars() 66 private static double getCharWidth(Font font, char c) { in getCharWidth() method in MonospacedGlyphWidthTest
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/awt/font/MonospacedGlyphWidth/ |
H A D | MonospacedGlyphWidthTest.java | 44 double width = getCharWidth(font, 'a'); in checkChars() 54 if (width != getCharWidth(font, (char)i)) { in checkChars() 66 private static double getCharWidth(Font font, char c) { in getCharWidth() method in MonospacedGlyphWidthTest
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/awt/font/MonospacedGlyphWidth/ |
H A D | MonospacedGlyphWidthTest.java | 44 double width = getCharWidth(font, 'a'); in checkChars() 54 if (width != getCharWidth(font, (char)i)) { in checkChars() 66 private static double getCharWidth(Font font, char c) { in getCharWidth() method in MonospacedGlyphWidthTest
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/awt/font/MonospacedGlyphWidth/ |
H A D | MonospacedGlyphWidthTest.java | 44 double width = getCharWidth(font, 'a'); in checkChars() 54 if (width != getCharWidth(font, (char)i)) { in checkChars() 66 private static double getCharWidth(Font font, char c) { in getCharWidth() method in MonospacedGlyphWidthTest
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/awt/font/MonospacedGlyphWidth/ |
H A D | MonospacedGlyphWidthTest.java | 44 double width = getCharWidth(font, 'a'); in checkChars() 54 if (width != getCharWidth(font, (char)i)) { in checkChars() 66 private static double getCharWidth(Font font, char c) { in getCharWidth() method in MonospacedGlyphWidthTest
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/awt/font/MonospacedGlyphWidth/ |
H A D | MonospacedGlyphWidthTest.java | 44 double width = getCharWidth(font, 'a'); in checkChars() 54 if (width != getCharWidth(font, (char)i)) { in checkChars() 66 private static double getCharWidth(Font font, char c) { in getCharWidth() method in MonospacedGlyphWidthTest
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/awt/font/MonospacedGlyphWidth/ |
H A D | MonospacedGlyphWidthTest.java | 44 double width = getCharWidth(font, 'a'); in checkChars() 54 if (width != getCharWidth(font, (char)i)) { in checkChars() 66 private static double getCharWidth(Font font, char c) { in getCharWidth() method in MonospacedGlyphWidthTest
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lastexpress/data/ |
H A D | font.cpp | 136 uint8 Font::getCharWidth(uint16 c) const{ in getCharWidth() function in LastExpress::Font 152 width += getCharWidth((unsigned char)str[i]); in getStringWidth() 160 width += getCharWidth(str[i]); in getStringWidth() 189 currentX += getCharWidth((unsigned char)str[i]); in drawString() 199 currentX += getCharWidth(str[i]); in drawString()
|
/dports/games/scummvm/scummvm-2.5.1/engines/lastexpress/data/ |
H A D | font.cpp | 136 uint8 Font::getCharWidth(uint16 c) const{ in getCharWidth() function in LastExpress::Font 152 width += getCharWidth((unsigned char)str[i]); in getStringWidth() 160 width += getCharWidth(str[i]); in getStringWidth() 189 currentX += getCharWidth((unsigned char)str[i]); in drawString() 199 currentX += getCharWidth(str[i]); in drawString()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/graphics/ |
H A D | font.cpp | 36 return Common::Rect(getCharWidth(chr), getFontHeight()); in getBoundingBox() 77 x += font.getCharWidth(cur); in getBoundingBoxImpl() 90 space += font.getCharWidth(cur) + font.getKerningOffset(last, cur); in getStringWidthImpl() 124 x += font.getCharWidth(cur); in drawStringImpl() 205 const int w = font.getCharWidth(c) + font.getKerningOffset(last, c); in wordWrapTextImpl() 220 …tMaxLineWidth = ((fullTextWidthEWL + 2) / targetTotalLinesNumberEWL) + 10 * font.getCharWidth(' '); in wordWrapTextImpl() 247 const int currentCharWidth = font.getCharWidth(c); in wordWrapTextImpl() 432 int charWidth = getCharWidth(cur) + getKerningOffset(last, cur); in handleEllipsis() 454 skip -= getCharWidth(cur) + getKerningOffset(last, cur); in handleEllipsis()
|
/dports/games/scummvm/scummvm-2.5.1/engines/sci/graphics/ |
H A D | fontkorean.cpp | 65 byte GfxFontKorean::getCharWidth(uint16 chr) { in getCharWidth() function in Sci::GfxFontKorean 67 return _commonFont->getCharWidth(chr); in getCharWidth() 69 return _commonFont->getCharWidth(chr) >> 1; in getCharWidth()
|
/dports/science/shelxle/shelxle-1.0.1352/ |
H A D | dsreditwindow.cpp | 63 resicledit->setMaximumWidth(getCharWidth(6)); in DSREditWindow() 64 resicledit->setMinimumWidth(getCharWidth(6)); in DSREditWindow() 591 cell_a->setMaximumWidth(getCharWidth(10)); in setCellFromDB() 592 cell_a->setMinimumWidth(getCharWidth(6)); in setCellFromDB() 593 cell_b->setMaximumWidth(getCharWidth(10)); in setCellFromDB() 594 cell_b->setMinimumWidth(getCharWidth(6)); in setCellFromDB() 595 cell_c->setMaximumWidth(getCharWidth(10)); in setCellFromDB() 596 cell_c->setMinimumWidth(getCharWidth(6)); in setCellFromDB() 1029 cell_a->setMaximumWidth(getCharWidth(7)); in makeUnitCellEdit() 1030 cell_b->setMaximumWidth(getCharWidth(7)); in makeUnitCellEdit() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/draci/ |
H A D | font.cpp | 107 uint8 Font::getCharWidth(uint8 chr) const { in getCharWidth() function in Draci::Font 131 const uint8 currentWidth = getCharWidth(chr); in drawChar() 239 curx += getCharWidth(str[i]) + spacing; in drawString() 265 tmp += getCharWidth(str[i]) + spacing; in getStringWidth() 298 width += getCharWidth(str[i]) + spacing; in getLineWidth()
|
/dports/games/scummvm/scummvm-2.5.1/engines/draci/ |
H A D | font.cpp | 107 uint8 Font::getCharWidth(uint8 chr) const { in getCharWidth() function in Draci::Font 131 const uint8 currentWidth = getCharWidth(chr); in drawChar() 242 curx += getCharWidth(str[i]) + spacing; in drawString() 268 tmp += getCharWidth(str[i]) + spacing; in getStringWidth() 301 width += getCharWidth(str[i]) + spacing; in getLineWidth()
|