GithubHelp home page GithubHelp logo

alloycustomfonts's Introduction

Based on Alloy Custom Fonts Project.

Key points:

1. Place your custom font in app / assets folder
2. Ensure you have an Info.plist file in the root of your project, and create an entry with the filename of your custom font
3. In your .tss style sheet file add the following the element with your text in: font: {fontSize: 24, fontFamily: "Lobster 1.3"}

How to run

This repo uses Titanium Appcelerator Alloy. If you are new to Alloy head over to the docs on Github to get up to speed.

If you don't have NodeJS installed on your computer, install nvm to switch between NodeJS versions.

curl https://raw.github.com/creationix/nvm/master/install.sh | sh

The Titanium CLI requires Node.js 0.8.x. You can download Node.js 0.10.x, but only Titanium SDK 3.1.0 and later will work.

nvm install v0.10.22 && nvm use v0.10.22

Prerequisites

Install Titanium:

[sudo] npm install -g titanium

Install Alloy:

[sudo] npm install -g alloy

Obtaining a Titanium SDK

You will need to download a Titanium SDK 3.0 or newer:

# stable release (recommended)
titanium sdk install 3.1.2.GA --default

Setting up the Titanium CLI

Before you begin using the Titanium CLI, you should configure it by running the "setup" command:

titanium setup

It will prompt you with a number of questions such as your e-mail address (for logging into the Appcelerator Network), the location of your Android SDK, and so on.

finally, run the application! :D

ti build -p iphone # Mac

or

ti build -p android # Others

Stuff our legal folk make us say:

Appcelerator, Appcelerator Titanium and associated marks and logos are trademarks of Appcelerator, Inc.

Titanium is Copyright (c) 2008-2013 by Appcelerator, Inc. All Rights Reserved.

Titanium is licensed under the Apache Public License (Version 2). Please see the LICENSE file for the full license.

alloycustomfonts's People

Stargazers

 avatar

Forkers

arenamobile

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.