This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>glyphs preview</title> | |
<style> | |
/* Page Styles */ | |
.glyph { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=UTF-8" %> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
<script src="//blueimp.github.io/jQuery-File-Upload/js/vendor/jquery.ui.widget.js"></script> | |
<script src="//blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script> | |
<script src="//blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script> | |
<script src="//blueimp.github.io/jQuery-File-Upload/js/jquery.iframe-transport.js"></script> | |
<script src="//blueimp.github.io/jQuery-File-Upload/js/jquery.fileupload.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package example.controller; | |
import java.io.IOException; | |
import java.util.List; | |
import org.apache.log4j.Logger; | |
import org.json.JSONArray; | |
import org.json.JSONObject; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.http.HttpStatus; | |
import org.springframework.http.ResponseEntity; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/java.desktop/share/classes/sun/java2d/opengl/OGLSurfaceData.java-orig 2015-07-02 17:37:58.000000000 +1000 | |
+++ src/java.desktop/share/classes/sun/java2d/opengl/OGLSurfaceData.java 2015-07-02 17:38:59.000000000 +1000 | |
@@ -412,7 +412,7 @@ | |
public boolean canRenderLCDText(SunGraphics2D sg2d) { | |
return | |
graphicsConfig.isCapPresent(CAPS_EXT_LCD_SHADER) && | |
- sg2d.surfaceData.getTransparency() == Transparency.OPAQUE && | |
+/* sg2d.surfaceData.getTransparency() == Transparency.OPAQUE && */ | |
sg2d.paintState <= SunGraphics2D.PAINT_OPAQUECOLOR && | |
(sg2d.compositeState <= SunGraphics2D.COMP_ISCOPY || |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# building openjdk 9 on osx with subpixel antialiasing support for translucent surfaces | |
# openjdk 9 b70 from oracle already supports subpixel font rendering, just not for translucent surfaces | |
hg clone http://hg.openjdk.java.net/jdk9/jdk9 jdk9 | |
cd ./jdk9 | |
bash ./get_source.sh | |
cd jdk | |
# enable faster subpixel AA (this patch is now in OpenJDK 9 b76, so no longer required) | |
# curl http://cr.openjdk.java.net/~bae/8087201/9/webrev.01/jdk.patch | patch --dry-run -p1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createRichTextHtmlResolver, Elements } from "@kontent-ai/delivery-sdk"; | |
import { nodeParser } from "@kontent-ai/delivery-node-parser"; | |
function test() { | |
const richTextElement = { | |
"images": [], | |
"linkedItemCodenames": [], | |
"linkedItems": [], | |
"links": [{ | |
"codename": "n2023_24_budget", |