Lines Matching defs:file

8  * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
138 /* Pool of 20 font file channels chosen because some UTF-8 locale
270 * If no mapping exists, it means there is no font file for the style
271 * If the mapping exists but the file doesn't exist in the deferred
274 * a single file being opened at JRE start-up there's a big payoff.
287 /* Lucida Sans full names (map Bold and DemiBold to same file) */
297 /* Typewriter full names (map Bold and DemiBold to same file) */
312 /* Lucida Bright full names (map Bold and DemiBold to same file) */
517 * This is typically when the same .TTF file is
529 * directory in the font configuration file, but we
575 * the default file.encoding property of this JRE instance.
588 // new sun.security.action.GetPropertyAction("file.encoding"));
724 * code points, or be a larger "file" because it has more bitmaps.
825 * such font configuration file is probably incorrect, or
987 File file = new File(deferredFile);
988 String dir = file.getParent();
989 String fname = file.getName();
1028 File file = new File(fileName);
1029 String dir = file.getParent();
1030 String fname = file.getName();
1078 .info("Opening deferred font file " + fileNameKey);
1122 * derived from this file, and may be null. See addToFontList for
1169 .info("Registered file " + fileName + " as font " +
1265 * in this file. This very probably should be cleaned up at some point.
1276 * Map from lower-case font full name to basename of font file.
1278 * For TTC files, there is a mapping for each font in the file.
1340 * registry entry mapping to a file doesn't.
1341 * - Marlett is in a hidden file not listed in the registry
1342 * - The registry advertises that the file david.ttf contains a
1346 * If a font which doesn't match these known cases has no file,
1361 String file = fontToFileMap.get(font);
1362 if (file == null) {
1365 file = fontToFileMap.get(newName);
1367 * replace the mapping to the file with this font
1369 if (file != null &&
1372 fontToFileMap.put(font, file);
1377 file = fontToFileMap.get("david regular");
1378 if (file != null) {
1380 fontToFileMap.put("david", file);
1403 * font names, we can look to find unused font->file mappings
1412 * A font in such a file is added to the fontToFileMap after
1484 .info("No file for font:" + name);
1535 .info("Found non-registry file : " + pathFile);
1575 for (String file : unmappedFiles) {
1579 String fullPath = getPathName(file);
1582 .info("Trying to resolve file " + fullPath);
1589 fontToFileMap.put(fontName, file);
1604 /* Hardwire the English names and expected file names of fonts
1609 * all non-null file names first.
1682 * will return null, if the file doesn't exist, hence the null
1720 info("Hardcoded file missing looking for " + lcName);
1749 info("Hardcoded file missing looking for " + lcName);
1833 logger.info("font="+keyName+" file="+ fontToFileMap.get(keyName));
1871 private PhysicalFont registerFontFile(String file) {
1872 if (new File(file).isAbsolute() &&
1873 !registeredFonts.contains(file)) {
1876 if (ttFilter.accept(null, file)) {
1880 (t1Filter.accept(null, file)) {
1887 return registerFontFile(file, null, fontFormat, false, fontRank);
1904 for (String file : fontToFileMap.values()) {
1905 registerFontFile(file);
1922 /* Path may be absolute or a base file name relative to one of
1967 * in this shared source file to be close to its sole client and
2001 * a font file. The specific reason for doing this is that
2017 .info("Platform lookup : No file for font " +
2564 * when in processing a font file it is discovered to be incorrect.
3189 * name of the font. The second element is the file name.
3234 continue; // skip this font file.
3267 * Returns a file name for the physical font represented by this platform
3268 * font name. The default implementation tries to obtain the file name
3383 * Returns file name for default font, either absolute
3407 * font file names.
3469 * looking up their corresponding file name and registers these fonts.
3491 /* No file located, so register using the platform name,
3505 * If the fontconfiguration file is properly set up
3621 * A GE may verify whether a font file used in a fontconfiguration
3624 * This makes some sense on windows where the font file is only
3625 * likely to be in one place. But on other OSes, eg Linux, the file
3629 * font initialisation logic tests to see if a font file is in that
3646 * loadFonts() within getAllFonts(). The fontconfig file specifies
3652 * is to rely (in this case) on the platform's font->file mapping to
3653 * determine that this name corresponds to a file we already registered.
3656 * - when we register a font file, we register all fonts in it.
3858 String fileEncoding = System.getProperty("file.encoding", "");
3903 * file will be closed next.
3908 /* Need to close the font file outside of the synchronized block,
3910 * this font file, and could be holding its lock and the pool lock.
3916 * will not close the file while its in use.