Skip to content

Commit

Permalink
[skip travis] Various cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bruvzg committed Oct 31, 2019
1 parent d70c36b commit fc1020f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 236 deletions.
197 changes: 0 additions & 197 deletions docs/source/Makefile

This file was deleted.

20 changes: 0 additions & 20 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
#
# Godot Engine documentation build configuration file

import sys
import os
Expand Down Expand Up @@ -46,14 +44,9 @@

# -- Options for HTML output ----------------------------------------------

# on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
if on_rtd:
using_rtd_theme = True

# Theme options
html_theme_options = {
Expand All @@ -66,11 +59,6 @@
# 'navigation_depth': 4, # Depth of the headers shown in the navigation bar
}

# VCS options: https://docs.readthedocs.io/en/latest/vcs.html#github
html_context = {
"display_github": False, # Integrate GitHub
}

html_logo = 'img/docs_logo.png'

# Output file base name for HTML help builder
Expand Down Expand Up @@ -101,11 +89,3 @@
linkcheck_anchors = False

linkcheck_timeout = 10

# -- I18n settings --------------------------------------------------------

locale_dirs = ['../sphinx/po/']
gettext_compact = False
# Exclude class reference when marked with tag i18n.
if tags.has('i18n'):
exclude_patterns = ['classes']
4 changes: 4 additions & 0 deletions docs/source/tools/makerst.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
import xml.etree.ElementTree as ET
from collections import OrderedDict

#This file is based in part on Godot's BitmapFont implementation, licensed under MIT license.
#For more information, see https://github.com/godotengine/godot/blob/master/LICENSE.txt
#For original source, see https://github.com/godotengine/godot/blob/master/doc/tools/makerst.py

# Uncomment to do type checks. I have it commented out so it works below Python 3.5
#from typing import List, Dict, TextIO, Tuple, Iterable, Optional, DefaultDict, Any, Union

Expand Down
4 changes: 2 additions & 2 deletions libgdtl/plugin.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[plugin]

name="gdtl"
description=""
description="BiDi, shaping and basic text layout for Godot Engine."
author=""
version=0.1
version=0.4
script="gdtl.gd"
Binary file added logo_inv.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 0 additions & 17 deletions src/resources/tl_dynamic_font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -536,23 +536,6 @@ bool TLDynamicFontFaceAtSize::load(String p_resource_path, int p_size) {
}

std::vector<hb_script_t> TLDynamicFontFaceAtSize::unicode_scripts_supported() const {
//DEBUG
/*
for (int i = 31; i >= 0; i--)
printf("%s", ((os2->ulUnicodeRange1 >> i) & 1) ? "+" : "-");
printf(" ");
for (int i = 31; i >= 0; i--)
printf("%s", ((os2->ulUnicodeRange2 >> i) & 1) ? "+" : "-");
printf(" ");
for (int i = 31; i >= 0; i--)
printf("%s", ((os2->ulUnicodeRange3 >> i) & 1) ? "+" : "-");
printf(" ");
for (int i = 31; i >= 0; i--)
printf("%s", ((os2->ulUnicodeRange4 >> i) & 1) ? "+" : "-");
printf("\n");
*/
//DEBUG

//https://freetype.org/freetype2/docs/reference/ft2-truetype_tables.html#tt_ucr_xxx

std::vector<hb_script_t> ret;
Expand Down

0 comments on commit fc1020f

Please sign in to comment.