I am a CTO with over 5 years of experience in start-up and over 10 years in working at managing position for big companies. I am also a full-stacks developer with over 12 years in system design, product development and technology product deployment. User experience and system security are the things I care about most.
Projects Category: Personal
- Home
- Personal
Provide standalone stylesheet with enhanced features for web fonts.
Latest version
Version: 1.1.0 Updated date: July 10, 2017
Supports
Local font
use local font when requested font available in system.Smooth
use some techniques to display font smoothly in almost browsers.- Full supported
languages
- Suitable for
private or local systems
Details
Font family, font weight, font style available:
Font family | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 900 |
---|---|---|---|---|---|---|---|---|
Noto Sans | R, I | B, BI | ||||||
Noto Sans UI | R, I | B, BI | ||||||
Noto Serif | R, I | B, BI | ||||||
Roboto | T, TI | L, LI | R, I | M, MI | B, BI | Bk, BkI | ||
Roboto Condensed | L, LI | R, I | B, BI | |||||
Segoe UI | L, LI | sL, sLI | R, I | sB, sBI | B, BI | |||
Helvetica Neue | uL, uLI | L, LI | R, I | M | B, BI | |||
Helvetica Neue Condensed | B | Bk |
R
Regular I
Italic B
Bold BI
Bold Italic M
Medium MI
Medium Italic Bk
Black BkI
Black Italic L
Light LI
Light Italic T
Thin TI
Thin Italic sL
Semilight sLI
Semilight Italic sB
Semibold sBI
Semibold Italic uL
Ultra Light uLI
Ultra Light Itaclic
Usage
Download version of font you need from release
folder, extract it to font folder in your project (fonts
for example), then include it in header of page.
[code_block_line_numbers]<link rel=”stylesheet” href=”fonts/travis-web-font-noto/css/noto.min.css”>
<link rel=”stylesheet” href=”fonts/travis-web-font-roboto/css/roboto-aio.min.css”>
<link rel=”stylesheet” href=”fonts/travis-web-font-helvetica-neue/css/helvetica-neue.min.css”>
<link rel=”stylesheet” href=”fonts/travis-web-font-segoe/css/font-segoe.min.css”>[/code_block_line_numbers]
For more information and usages, please visit source code repository: https://github.com/travistran1989/travis-web-fonts
Compressor4j
Java dependency to simplify process of compressing and decompressing files and folders.
Compressor4j is a Java dependency to simplify process of compressing and decompressing files and folders.
- Support compressing for file types: ZIP, GZ, TAR, TAR.GZ, JAR, BZ2, TAR.BZ2, AR, CPIO, XZ.
- Support decompressing for file types: ZIP, GZ, TAR, TAR.GZ, JAR, BZ2, TAR.BZ2, AR, CPIO, 7Z, XZ, RAR.
- JRE support: 7+
Compress files or folders
To compress files or folders, you could use as the following example:
[code_block_line_numbers]public static void write() throws Exception {
try {
FileCompressor fileCompressor = new FileCompressor();
String[] files = new String[] { “IMG_01.JPG”, “/02/IMG_02.JPG”, “/03/IMG_03.JPG” };
for (String file : files) {
fileCompressor.add(SRC_PATH + file, file);
}
fileCompressor.setType(CompressionType.JAR);
fileCompressor.setLevel(ZipLevel.NORMAL);
fileCompressor.setCompressedPath(“output.jar”);
fileCompressor.compress();
} catch (Exception e) {
e.printStackTrace();
}
}[/code_block_line_numbers]
Extract compressed file
To decompress files or folders, you could use as the following example:
[code_block_line_numbers]public static void read() throws Exception {
try {
FileCompressor fileCompressor = FileCompressor.read(“input.zip”);
fileCompressor.decompress(“output/”);
} catch (Exception e) {
e.printStackTrace();
}
}[/code_block_line_numbers]
For more information and usages, please visit source code repository: https://github.com/travistran1989/compressor4j